GO-MOD(1)
π GO-MOD(1) β module maintenance π
okay bestie, gather round, because this is go mod, section 1 of the manual, and it's giving module maintenance. it lives in the "Go programming tools and commands" corner of the man pages, and honestly? it's kind of a big deal. π
β¨ NAME β¨
go-mod β module maintenance. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
go mod command [arguments]
π¦ DESCRIPTION π¦
so go mod is your backstage pass to operations on modules. it's how you poke at modules directly, no cap. π₯
but here's the thing bestie, and this is important: support for modules is built into all the go commands, not just go mod. like, it's not a special little side quest, it's in everything. so for your day-to-day adding, removing, upgrading, and downgrading of dependencies, you should be using go get, not go mod. fr fr.
and if you want the whole overview of module functionality, go read go help modules. it's there. go look. π
π COMMANDS π
one bullet per command, zero skips, we don't do that here:
downloadβ downloads modules to the local cache. cute little stash for later. πeditβ editsgo.modfrom tools or scripts. yes, the tools can do it too.graphβ prints the module requirement graph. it's a whole map of who needs whom. πinitβ initializes a new module in the current directory. brand new baby module. β¨tidyβ adds missing modules and removes unused ones. cleaning up your room but for dependencies.vendorβ makes a vendored copy of dependencies. keeping them right there with you. π«Άverifyβ verifies dependencies have expected content. vibe check, but for hashes. πwhyβ explains why packages or modules are needed. the "but why" command, iconic honestly. π
want more tea on any single one of these? use go help mod <command>. that's the move. π
π AUTHOR π
this manual page was created using help2man, and then the output got updated afterwards. it's maintained by the Debian Go Compiler Team <team+go-compiler@tracker.debian.org> for the Debian project β and yeah, other people are allowed to use it too. π
and that's the whole page!! π this was Go 1.27, dated August 2026, and yes we're still calling it GO-MOD(1) at the bottom like the absolute main character it is. slay, bye bestie π
β¨
π¦ where this page comes from
- ubuntu stonking: golang-go 2:1.27~1 Β· Go
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms