Hacker News new | ask | show | jobs
by kitd 1539 days ago
It looks complicated because OP is describing the situations both before and after the introduction of go mod.

Just use go get to get initially, and go mod to organize thereafter. It is very simple and occupies <1% of my cognitive effort writing go code.