News for hackers. Stuff that matters.
Re:On Go by 501 on Sunday June 02, 2013 @12:28AM (#5807305)
I (a go noob) somehow got the impression that you're supposed to version your API when writing go libraries. ie, your library should be github.com/501/foo/v1 rather than github.com/501/foo. Can any go users comment on whether that's expected practice?
Re:On Go by dsymonds on Sunday June 02, 2013 @12:33AM (#5807323)
You can if you want, and some folk do, but that's really outside the scope of the language itself and much more about your project management, revision control, and so on.
Re:On Go by _ak on Sunday June 02, 2013 @04:50AM (#5807800)
The easiest way is just to keep your master always in a stable, clean state. Tools like git flow help with that.

Besides that, people who criticize go get's behaviour of checking out the latest revision resp. the go1 or go1.1 tag (if available) seem to forget that you're always free to populate your $GOPATH the way you like. You don't need go get for that.

Re:On Go by nknighthb on Sunday June 02, 2013 @02:41AM (#5807603)
I suspect you got this erroneous impression due branches based on the version of Go they are compatible with.

Many projects maintain branches named for the Go version they are compatibile with, and the 'go get' tool automatically fetches the appropriate branch.

Re:On Go by 501 on Sunday June 02, 2013 @03:21AM (#5807654)
Actually I think I may have first picked it up from this vclock library: http://labix.org/vclock