HN user

fhs

14 karma

[ my public key: https://keybase.io/fhs; my proof: https://keybase.io/fhs/sigs/Clj-miP2Jv0wJCF1RGYdc_2zaazOwveh-QDt9B9yTHc ]

Posts0
Comments8
View on HN
No posts found.
[GET] "/api/user/fhs/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories
Using Go Modules 7 years ago

What the blog post neglected to mention is that you can force module usage, even inside $GOPATH, by setting the environment variable GO111MODULE=on. I have a go command wrapper script called vgo that sets GO111MODULE=on, which I use when I want to use modules inside $GOPATH. More info here: https://github.com/golang/go/wiki/Modules

Golang on GitHub 12 years ago

Keep in mind that contributing to Go requires that you sign a contributor license agreement, something people might not want to go through (no pun intended) for small changes.