Skip to content

Instantly share code, notes, and snippets.

@azhuox
Created December 2, 2020 02:17
Show Gist options
  • Save azhuox/18ea20e7f2172d6bbae42d058c275cfa to your computer and use it in GitHub Desktop.
Save azhuox/18ea20e7f2172d6bbae42d058c275cfa to your computer and use it in GitHub Desktop.
go mod init github.com/azhuox/blogs/golang/go_modules/example/libs/libc
go build
go: downloading github.com/azhuox/blogs/golang/go_modules/example/libs/libb v1.0.0
go: extracting github.com/azhuox/blogs/golang/go_modules/example/libs/libb v1.0.0
...
git add ./go.mod ./go.sum
git commit ./go.mod ./go.sum -q -m "Convert libc to a module" && git push origin master -q
git tag golang/go_modules/example/libs/libc/v1.0.0 && git push -q origin master golang/go_modules/example/libs/libc/v1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment