User Tools

Site Tools


golang

Tips for the Go language

Create a Go path

apt install golang-go
mkdir -p $HOME/gocode/bin
export GOPATH=$HOME/gocode
export PATH=$PATH:$GOPATH/bin

Get a lib

go get -v <my_lib>
golang.txt · Last modified: 2020/12/16 20:50 by jdx