Go
goAn open source programming language that makes it easy to build simple, reliable, and efficient software.
An open source programming language that makes it easy to build simple, reliable, and efficient software.
Build, test, run, format and manage modules. Flags come from the Fig completion data, which omits some options (for example -run and -count for go test).
go buildCompile packages and dependencies.
packagesoutputvpackagesoutputtrimpathldflagspath · positional 0 · repeatablepath-oboolean-vboolean-raceboolean-trimpathstring-tagsstring · repeatable-ldflagsstring-modreadonlyvendormodboolean-aboolean-nboolean-xgo testRun tests in the current package (the package list is not offered; add it after the flags).
vracetagsjsonraceboolean-vboolean-raceboolean-trimpathstring-tagsstring-modreadonlyvendormodboolean-aboolean-nboolean-xboolean-jsonboolean-cpath-ogo runCompile and run a Go program.
packageracepath · positional 0boolean-vboolean-raceboolean-trimpathstring-tagsstring-modreadonlyvendormodboolean-xgo getAdd a dependency to the current module and install it.
urlustring · positional 0boolean-uboolean-tboolean-dboolean-vgo mod tidyMake go.mod match the source code in the module.
vboolean-eboolean-vgo fmtReformat package sources with gofmt.
packagespath · positional 0 · repeatableboolean-nboolean-xfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionfigcompletionBefore it fills your prompt, Otty checks the installed go against its version. A form that does not match your version is not offered.