Created
April 22, 2019 08:10
-
-
Save akyoto/ecdd93f4dd2c41af05dd8f7d0bf5e7d3 to your computer and use it in GitHub Desktop.
Add go.mod to existing project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export TAG=v0.1.0 go mod init && gb -v && go mod tidy && git add . && git commit -m "Added Go module definition" && git push && git tag $TAG && git push origin $TAG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment