logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Go Mod - Manage Go Modules | Online Free DevTools by Hexmos

Manage Go modules efficiently with Go Mod. Download, tidy, verify, and vendor your Go dependencies easily. Free online tool, no registration required.

go-mod

Module maintenance. More information: https://pkg.go.dev/cmd/go#hdr-Module_maintenance.

  • Initialize new module in current directory:

go mod init {{moduleName}}

  • Download modules to local cache:

go mod download

  • Add missing and remove unused modules:

go mod tidy

  • Verify dependencies have expected content:

go mod verify

  • Copy sources of all dependencies into the vendor directory:

go mod vendor

See Also