13. Go - Modules/Libaries/Packages
go mod init MODULE_NAME
go get LIBARY_NAME_ON_GITHUB
// use both in same folder of project
go mod tidy
// downloads required dependencies in a project
go mod tidy -v
// updates the dependencies in go.mod and go.sum files to match what is currently used in project
Comments
Post a Comment