{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/17008","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/17008/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/17008/comments","events_url":"https://api.github.com/repos/golang/go/issues/17008/events","html_url":"https://github.com/golang/go/issues/17008","id":175396162,"number":17008,"title":"cmd/go: improve the \"no buildable Go source files\" message","user":{"login":"rakyll","id":108380,"avatar_url":"https://avatars.githubusercontent.com/u/108380?v=3","gravatar_id":"","url":"https://api.github.com/users/rakyll","html_url":"https://github.com/rakyll","followers_url":"https://api.github.com/users/rakyll/followers","following_url":"https://api.github.com/users/rakyll/following{/other_user}","gists_url":"https://api.github.com/users/rakyll/gists{/gist_id}","starred_url":"https://api.github.com/users/rakyll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakyll/subscriptions","organizations_url":"https://api.github.com/users/rakyll/orgs","repos_url":"https://api.github.com/users/rakyll/repos","events_url":"https://api.github.com/users/rakyll/events{/privacy}","received_events_url":"https://api.github.com/users/rakyll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/42","html_url":"https://github.com/golang/go/milestones/Go1.8Maybe","labels_url":"https://api.github.com/repos/golang/go/milestones/42/labels","id":1748849,"number":42,"title":"Go1.8Maybe","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":135,"closed_issues":24,"state":"open","created_at":"2016-05-04T23:40:26Z","updated_at":"2016-09-07T18:29:27Z","due_on":"2017-02-01T08:00:00Z","closed_at":null},"comments":1,"created_at":"2016-09-07T02:07:58Z","updated_at":"2016-09-07T18:30:58Z","closed_at":null,"body":"Consider the following main source file:\r\n\r\n```\r\n// +build cgo\r\n\r\npackage main\r\n\r\nfunc main() {\r\n\r\n}\r\n\r\n\r\n$ CGO_ENABLED=0 go build .\r\ngo build hello/subtests: no buildable Go source files in /Users/jbd/src/hello/subtests\r\n```\r\n\r\nThe error message is very unfriendly for the new comers. It should better say \"no buildable Go sources for buildtags=%q\". And the user can double check if they are setting all the build tags right or will understand that the package is not supporting their build tag combination.\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/245374353","html_url":"https://github.com/golang/go/issues/17008#issuecomment-245374353","issue_url":"https://api.github.com/repos/golang/go/issues/17008","id":245374353,"user":{"login":"quentinmit","id":115761,"avatar_url":"https://avatars.githubusercontent.com/u/115761?v=3","gravatar_id":"","url":"https://api.github.com/users/quentinmit","html_url":"https://github.com/quentinmit","followers_url":"https://api.github.com/users/quentinmit/followers","following_url":"https://api.github.com/users/quentinmit/following{/other_user}","gists_url":"https://api.github.com/users/quentinmit/gists{/gist_id}","starred_url":"https://api.github.com/users/quentinmit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quentinmit/subscriptions","organizations_url":"https://api.github.com/users/quentinmit/orgs","repos_url":"https://api.github.com/users/quentinmit/repos","events_url":"https://api.github.com/users/quentinmit/events{/privacy}","received_events_url":"https://api.github.com/users/quentinmit/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T18:30:58Z","updated_at":"2016-09-07T18:30:58Z","body":"I suggest only changing the error message if there was a source file that was ignored due to build tags. Otherwise I think it will confuse new users to see the build tags."}}
{"actor":{"display_login":"quentinmit"}}