To get the package, execute:
go get gopkg.in/oauth2.v3/errors
To import this package, add the following line to your code:
import "gopkg.in/oauth2.v3/errors"
For more details, see the API documentation.