Home > Programming > Go project setup
published 2023-07-25, updated 2024-11-12
Go project setup in 2023
- Good article
- No more $GOPATH
- Install Go (obvious), 'sudo xbps-install -S go' on Void Linux
- Expand your path with export PATH="$PATH:$(go env GOPATH)/bin"
- Create project directory
- go mod init domain.tld/username/projectname
- Open in favorite editor and go from there