Skip to content

Instantly share code, notes, and snippets.

@montanaflynn
Created December 11, 2018 06:11
Show Gist options
  • Save montanaflynn/1c06b6f87565126d7bc1233b5b68c345 to your computer and use it in GitHub Desktop.
Save montanaflynn/1c06b6f87565126d7bc1233b5b68c345 to your computer and use it in GitHub Desktop.
JUST TELL ME HOW TO USE GO MODULES
go mod init <modulename>

go get -u ./...

go mod vendor

go get -u <repo url>

go mod vendor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment