Golang packaging
From wikinotes
Locations
~/go/bin
default $GOBIN
path, where go executables are installed
Os Packages
Install Executable
Starting in golang-1.18,
go install
is used to install executables.go install github.com/appliedgocode/goman@latest # install latest goman executablePublic Packages
Private Packages
Go executables are installed/built from src.
You'll need to add your package to$GOPRIVATE
envvar to stop it from being indexed.
Project Requirements
Module Requirements
See go.mod file .