Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block9.go Secret

Created December 2, 2020 02:17
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 azhuox/5503dd20782c0990171842f5c6986edb to your computer and use it in GitHub Desktop.
Save azhuox/5503dd20782c0990171842f5c6986edb to your computer and use it in GitHub Desktop.
go mod init github.com/azhuox/blogs/golang/go_modules/example/libs/libb
go: creating new go.mod: module github.com/azhuox/blogs/golang/go_modules/example/libs/libb
go build
go: downloading github.com/azhuox/blogs/golang/go_modules/example/libs/liba v1.1.0
go: extracting github.com/azhuox/blogs/golang/go_modules/example/libs/liba v1.1.0
...
git add ./go.mod ./go.sum
git commit ./go.mod ./go.sum -q -m "Convert libb to a module" && git push origin master -q
git tag golang/go_modules/example/libs/libb/v1.0.0 && git push -q origin master golang/go_modules/example/libs/libb/v1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment