Skip to content

Instantly share code, notes, and snippets.

@azhuox

azhuox/block8.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/e00e89d9651de4825632f57d09a5aab9 to your computer and use it in GitHub Desktop.
Save azhuox/e00e89d9651de4825632f57d09a5aab9 to your computer and use it in GitHub Desktop.
cd path/to/libs/liba
go mod init github.com/azhuox/blogs/golang/go_modules/example/libs/liba
go: creating new go.mod: module github.com/azhuox/blogs/golang/go_modules/example/libs/liba
go build
go: finding golang.org/x/net/context latest
go: finding golang.org/x/net latest
# Commit changes
#
git add ./go.mod ./go.sum
git commit ./go.mod ./go.sum -q -m "Convert liba to a module" && git push origin master -q
# Release the latest version (v1.1.0):
#
git tag golang/go_modules/example/libs/liba/v1.1.0 && git push -q origin master golang/go_modules/example/libs/liba/v1.1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment