go-latest
go-latest copied to clipboard
Allow user to authenticate with github via personal access token
GithubTag
already had a Token
member that seemed to have to do with allowing authentication to the repo. Use this to provide a personal access token and list the repo's tags using a static oauth authenticated client. See https://github.com/google/go-github#user-content-authentication.