Based on: Learning Go
- Set GOPATH:
export GOPATH=$(pwd)
export PATH=$PATH:$GOPATH/bin
go run <file.go>
Go uses the repository itself, there is no dependency manager
go install github.com/rakyll/hey@latest
Based on: Learning Go
export GOPATH=$(pwd)
export PATH=$PATH:$GOPATH/bin
go run <file.go>
Go uses the repository itself, there is no dependency manager
go install github.com/rakyll/hey@latest