I was going over the documentation (README.md) and noticed that to create a client with a token, the WithAuthToken method must be used:
client:=github.NewClient(nil).WithAuthToken("... your access token ...")After using the library, WithAuthToken seems to not be available anymore. Has this been replaced with NewTokenClient? If so, should the documentation be changed to reflect this?
I was going over the documentation (README.md) and noticed that to create a client with a token, the WithAuthToken method must be used:
After using the library, WithAuthToken seems to not be available anymore. Has this been replaced with NewTokenClient? If so, should the documentation be changed to reflect this?