go(1)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 5 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, epel 9, fedora 43, fedora 44, ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– go(1) β€” User Commands πŸ’–

okay bestie, welcome to the go page, straight outta the User Commands section of the manual. yes you read that right, it lives there, it's iconic, it's giving main character energy for your entire Go toolchain 🫢


✨ NAME ✨

go β€” build, test, install Go programs

like. that's the whole job description. three verbs. build, test, install. no cap, that's the vibe 🌈


✨ SYNOPSIS ✨

go command [arguments]

that's it, that's the shape of literally every single invocation. you say go, then you say the command you want (the thing doing the work), then you hand it whatever arguments it's hungry for. slay ✨


✨ DESCRIPTION ✨

so what even is this thing?? it's a tool for managing Go source code. that's the whole tea β˜• β€” it's the tool that keeps your Go source code from becoming a chaotic little gremlin πŸ’€

and if you want the full documentation, bestie, you've got exactly two options and both of them are free:

  • run go help β€” right there in your terminal, no browser required, immediate answers πŸ’…
  • or go read http://golang.org/cmd/go β€” the online version, for when you want to scroll 🌸
fr fr, don't come at me for not listing every subcommand here. the manpage is telling you where they live. go read them. it's literally one command away πŸ™ˆ

✨ SEE ALSO ✨

  • gofmt(1) β€” the sibling!! the one that makes your code pretty πŸ‘‘

and that's the whole page, bestie πŸ’œ short, sweet, and it ate. this one comes to you from Go, dated January 2015 β€” yes, January 2015, a vintage icon, we respect our elders πŸŽ€

now go build something. periodt. πŸ’–βœ¨

πŸ“¦ where this page comes from
  • alpine 3.22: gcc-doc 14.2.0-r6 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
  • alpine 3.23: gcc-doc 15.2.0-r2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
  • alpine 3.24: gcc-doc 15.2.0-r5 Β· GPL-2.0-or-later AND LGPL-2.1-or-later
  • arch rolling: gcc-go 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
  • epel 9: gcc-go 11.5.0-6.el9 Β· GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD
  • fedora 43: gcc-go 15.2.1-2.fc43 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 43: gcc-go 15.3.1-1.fc43 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: gcc-go 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • fedora 44: gcc-go 16.2.1-2.fc44
  • fedora 44: gcc-go 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
  • ubuntu jammy: gcc-snapshot 1:20220117-1ubuntu1
  • ubuntu noble: gcc-snapshot 1:20240117-1ubuntu1
  • ubuntu questing: gcc-snapshot 1:20250921-1ubuntu1
  • ubuntu resolute: gcc-snapshot 1:20260306-1ubuntu1
  • ubuntu stonking: gcc-snapshot 1:20260920-0ubuntu1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms