To get the package, execute:
go get gopkg.in/stripe/stripe-go.v31/sub
To import this package, add the following line to your code:
import "gopkg.in/stripe/stripe-go.v31/sub"
For more details, see the API documentation.