-
Notifications
You must be signed in to change notification settings - Fork 19
moqsien edited this page Jan 21, 2024
·
1 revision
This command helps you with a couple of things you do with go.
moqsien@moqsiendeiMac ~ % g go -h
Golang related CLIs.
Usage:
go [command]
Aliases:
go, G
Available Commands:
build Compiles go code for multi-platforms [with <-ldflags "-s -w"> builtin].
envs Set envs for go, including GOPATH, GOBIN, GOPROXY, etc.
grpc-install Install protoc-gen-go-grpc.
list-distros List the platforms supported by go compilers.
local Shows all installed versions.
proto-go-plugin Installs proto-gen-go.
protoc-install Installs latest version of protoc.
remame-to Renames a local package to a new name.
remote Shows available versions from remote website.
remove-unused Remove installed versions except the one currently in use.
reomve Remove an installed version.
search Search for go packages.
use Downloads and switches to the specified version.
Flags:
-h, --help help for go
Use " go [command] --help" for more information about a command.
- Go version management.
- Searching for packages written in go by keyword.
- Protobuf installation.
- Building your go project scriptlessly.
- Rename a go project automatically.