Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Helcaraxan/1398904475f53ae75358be909d2574f1 to your computer and use it in GitHub Desktop.
Save Helcaraxan/1398904475f53ae75358be909d2574f1 to your computer and use it in GitHub Desktop.
-> mkdir temp && cd temp
-> go mod init 'temp'
-> cat go.mod
module github.com/Helcaraxan/testing
go 1.13
-> go get github.com/google/go-github/v9 ## NB: That repo only got a go.mod in v18.0.0.
go: downloading github.com/google/go-github v17.0.0+incompatible
go: extracting github.com/google/go-github v17.0.0+incompatible
go: finding github.com/google/go-github/v9 v9.0.0
go get github.com/google/go-github/v9: module github.com/google/go-github@upgrade (v17.0.0+incompatible) found, but does not contain package github.com/google/go-github/v9
-> go get github.com/google/go-github
-> cat go.mod
module github.com/Helcaraxan/testing
go 1.13
require github.com/google/go-github v17.0.0+incompatible // indirect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment