I just installed golang on my machine. It appears that the way to install third party libraries is via the "goinstall" command, however this did not appear to install as part of the OSX package installer.
Am I missing something here?
Carl
Downloading and installing packages and dependencies is normally done using go get
go get github.com/user/package
Or go install
when compiling and installing third party packages:
go install github.com/user/tool
You may reference the old tutorial or book. Read these.
goinstall is replaced by go install
, I often use go get -u
to get updated source.
Another tip is go get -d
in your *.go source directory, then, it will get related packages automatically.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With