{"action":"created","issue":{"url":"https://api.github.com/repos/shurcooL/vfsgen/issues/16","labels_url":"https://api.github.com/repos/shurcooL/vfsgen/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/shurcooL/vfsgen/issues/16/comments","events_url":"https://api.github.com/repos/shurcooL/vfsgen/issues/16/events","html_url":"https://github.com/shurcooL/vfsgen/pull/16","id":124425251,"number":16,"title":"Add ./cmd/vfsgendev binary to address common use case.","user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-12-31T02:46:41Z","updated_at":"2016-01-01T03:27:48Z","closed_at":"2016-01-01T03:27:41Z","pull_request":{"url":"https://api.github.com/repos/shurcooL/vfsgen/pulls/16","html_url":"https://github.com/shurcooL/vfsgen/pull/16","diff_url":"https://github.com/shurcooL/vfsgen/pull/16.diff","patch_url":"https://github.com/shurcooL/vfsgen/pull/16.patch"},"body":"Add an opinionated binary for specialized use. It uses the convention of using \"dev\" build tag for development mode, and assumes that the source VFS is defined in a \"dev\" only environment; it uses \"!dev\" build tag in output _vfsdata.go file.\r\n\r\nUsage is simple:\r\n\r\n```bash\r\n$ vfsgendev -source=\"import/path\".VariableName\r\n```\r\n\r\nOr in a go:generate directive:\r\n\r\n```Go\r\n//go:generate vfsgendev -source=\"import/path\".VariableName\r\n```\r\n\r\nSee sourcegraph/appdash#91 for additional background, motivation, and discussion.\r\n\r\nResolves #2.\r\n\r\nCloses #14.\r\n\r\n/cc @slimsag"},"comment":{"url":"https://api.github.com/repos/shurcooL/vfsgen/issues/comments/168279952","html_url":"https://github.com/shurcooL/vfsgen/pull/16#issuecomment-168279952","issue_url":"https://api.github.com/repos/shurcooL/vfsgen/issues/16","id":168279952,"user":{"login":"slimsag","id":3173176,"avatar_url":"https://avatars.githubusercontent.com/u/3173176?v=3","gravatar_id":"","url":"https://api.github.com/users/slimsag","html_url":"https://github.com/slimsag","followers_url":"https://api.github.com/users/slimsag/followers","following_url":"https://api.github.com/users/slimsag/following{/other_user}","gists_url":"https://api.github.com/users/slimsag/gists{/gist_id}","starred_url":"https://api.github.com/users/slimsag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slimsag/subscriptions","organizations_url":"https://api.github.com/users/slimsag/orgs","repos_url":"https://api.github.com/users/slimsag/repos","events_url":"https://api.github.com/users/slimsag/events{/privacy}","received_events_url":"https://api.github.com/users/slimsag/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T03:27:48Z","updated_at":"2016-01-01T03:27:48Z","body":"re: two recent commits, LGTM."}}