{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/9369","labels_url":"https://api.github.com/repos/golang/go/issues/9369/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9369/comments","events_url":"https://api.github.com/repos/golang/go/issues/9369/events","html_url":"https://github.com/golang/go/issues/9369","id":52287990,"number":9369,"title":"cmd/go: provide some way to build programs with net package built with -tags netgo","user":{"login":"ianlancetaylor","id":3194333,"avatar_url":"https://avatars.githubusercontent.com/u/3194333?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlancetaylor","html_url":"https://github.com/ianlancetaylor","followers_url":"https://api.github.com/users/ianlancetaylor/followers","following_url":"https://api.github.com/users/ianlancetaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianlancetaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlancetaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlancetaylor/subscriptions","organizations_url":"https://api.github.com/users/ianlancetaylor/orgs","repos_url":"https://api.github.com/users/ianlancetaylor/repos","events_url":"https://api.github.com/users/ianlancetaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianlancetaylor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/repo-main","name":"repo-main","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/3","labels_url":"https://api.github.com/repos/golang/go/milestones/3/labels","id":906464,"number":3,"title":"Go1.4.1","description":"Go 1.4.1 release.","creator":{"login":"ianlancetaylor","id":3194333,"avatar_url":"https://avatars.githubusercontent.com/u/3194333?v=3","gravatar_id":"","url":"https://api.github.com/users/ianlancetaylor","html_url":"https://github.com/ianlancetaylor","followers_url":"https://api.github.com/users/ianlancetaylor/followers","following_url":"https://api.github.com/users/ianlancetaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianlancetaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianlancetaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianlancetaylor/subscriptions","organizations_url":"https://api.github.com/users/ianlancetaylor/orgs","repos_url":"https://api.github.com/users/ianlancetaylor/repos","events_url":"https://api.github.com/users/ianlancetaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianlancetaylor/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":6,"state":"open","created_at":"2014-12-17T02:22:39Z","updated_at":"2015-01-06T23:35:04Z","due_on":"2015-01-15T08:00:00Z","closed_at":null},"comments":23,"created_at":"2014-12-17T20:33:06Z","updated_at":"2015-01-07T02:52:49Z","closed_at":null,"body":"In Go 1.4 we changed \"go build -a\" so that it no longer builds the standard library (issue #8290).  Prior to Go 1.4, programmers who wanted a fully static binary that uses the network routinely built their programs with \"go build -a -tags netgo\".  That no longer works.  There is no longer a simple way do achieve this desirable goal.  We should fix this for 1.4.1."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/68972158","html_url":"https://github.com/golang/go/issues/9369#issuecomment-68972158","issue_url":"https://api.github.com/repos/golang/go/issues/9369","id":68972158,"user":{"login":"minux","id":135652,"avatar_url":"https://avatars.githubusercontent.com/u/135652?v=3","gravatar_id":"","url":"https://api.github.com/users/minux","html_url":"https://github.com/minux","followers_url":"https://api.github.com/users/minux/followers","following_url":"https://api.github.com/users/minux/following{/other_user}","gists_url":"https://api.github.com/users/minux/gists{/gist_id}","starred_url":"https://api.github.com/users/minux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minux/subscriptions","organizations_url":"https://api.github.com/users/minux/orgs","repos_url":"https://api.github.com/users/minux/repos","events_url":"https://api.github.com/users/minux/events{/privacy}","received_events_url":"https://api.github.com/users/minux/received_events","type":"User","site_admin":false},"created_at":"2015-01-07T02:52:49Z","updated_at":"2015-01-07T02:52:49Z","body":"On Tue, Jan 6, 2015 at 9:45 PM, Dave Cheney <notifications@github.com>\nwrote:\n\n> I don't know what you mean by 'every time', if you mean every time you\n> change your go install (ie, moving between major releases) or between\n> development builds, this is a once off hit. I'd be surprised if the time\n> to\n> rebuild everything in your GOPATH was greater than the time it took to\n> rebuild your go install, or download a packaged one.\n\nA concrete example for what I meant by \"every time\".\nI have a special GOPATH that has a broken symlink as pkg so that\ngo install will never work for that GOPATH:\n$ ln -s $GOPATH/pkg $GOPATH/pkg\n\nBecause I don't have any cgo packages in that GOPATH, I don't feel\nthe need to every go install anything..... I switch go versions very\nfrequently\nfor that GOPATH, so even if I installed the packages, go build will almost\nalways rebuild everything."}}