News for hackers. Stuff that matters.
Re:Using Go Modules by antwerpen on Wednesday March 20, 2019 @01:25PM (#19444489)
Ah. The trick is to substitute in the go.mod file's require block.:

s/$SEMANTIC_VERSION_BRANCH/$BRANCH

In this case, $BRANCH == 'master'. 'go build' will resolve 'master' to a specific commit hash version.

Re:Using Go Modules by chrisbroadfoot on Monday March 25, 2019 @01:21AM (#19480456)
you can also `go get google.golang.org/api@master`