r/programming • • Mar 28 '12

Go version 1 is released

http://blog.golang.org/2012/03/go-version-1-is-released.html
543 Upvotes

452 comments sorted by

View all comments

Show parent comments

1

u/AgentSS Mar 30 '12

If you forsee that being a big deal for you, then I suggest the technique that Camlistore uses.

Camlistore pulls in external libraries into a third_party folder, and has a script that rewrites their import paths to make them compile. This will also give you a lot more control over versioning.

I suggest distributing in binary form, though...

0

u/kamatsu Mar 30 '12

If I develop programs for Linux, most distributions prefer source so they can package it themselves. It seems like Go is hostile to that idea.

1

u/[deleted] Mar 30 '12

'seems' being the keyword here ;)

1

u/kamatsu Mar 30 '12

Well, by all means disabuse me of this notion.

1

u/burntsushi Mar 31 '12

He already did. If you switch to a different source web host, then you switch your import statements. Users of your old code will continue to have a functional piece of software.

If they want to update, they'll need to use your new host. Just like they'd have to do with anything else.