News for hackers. Stuff that matters.
Re:Go 1.5's vendor/ experiment by nulltype on Friday July 10, 2015 @01:37AM (#9862450)
That would be nice, but that is not true in Go. You can register with a function like this one: http://golang.org/pkg/database/sql/#Register (mentioned in the article) and run it in your init() function or any similar function that a client calls.

That will collide with any other package that also uses that registration function for the same value of 'name'.

Re:Go 1.5's vendor/ experiment by a13xb on Friday July 10, 2015 @02:45AM (#9862611)
Right, when you leak handles to package objects externally, all bets are off.