HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by gauchojs | Hacker News Reader
Parent
Full thread
gauchojs
·
I had to "go mod init" before go build worked.
View on HN
majewsky
·
Without a go.mod file, it will only compile when placed in the right place in the GOPATH, which Rob Pike presumably does.
Reply on news.ycombinator.com