{"action":"created","issue":{"url":"https://api.github.com/repos/tinylib/msgp/issues/229","repository_url":"https://api.github.com/repos/tinylib/msgp","labels_url":"https://api.github.com/repos/tinylib/msgp/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/tinylib/msgp/issues/229/comments","events_url":"https://api.github.com/repos/tinylib/msgp/issues/229/events","html_url":"https://github.com/tinylib/msgp/issues/229","id":336353565,"node_id":"MDU6SXNzdWUzMzYzNTM1NjU=","number":229,"title":"Use \"official\" sentinel for golang generated code ","user":{"login":"client9","id":217179,"node_id":"MDQ6VXNlcjIxNzE3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/217179?v=4","gravatar_id":"","url":"https://api.github.com/users/client9","html_url":"https://github.com/client9","followers_url":"https://api.github.com/users/client9/followers","following_url":"https://api.github.com/users/client9/following{/other_user}","gists_url":"https://api.github.com/users/client9/gists{/gist_id}","starred_url":"https://api.github.com/users/client9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/client9/subscriptions","organizations_url":"https://api.github.com/users/client9/orgs","repos_url":"https://api.github.com/users/client9/repos","events_url":"https://api.github.com/users/client9/events{/privacy}","received_events_url":"https://api.github.com/users/client9/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-27T19:13:48Z","updated_at":"2018-06-27T19:50:33Z","closed_at":null,"author_association":"NONE","body":"Hi Team MSGP\r\n\r\nThe current sentinel for MSGP generated code is\r\n\r\n```\r\n// NOTE: THIS FILE WAS PRODUCED BY THE\r\n// MSGP CODE GENERATION TOOL (github.com/tinylib/msgp)\r\n// DO NOT EDIT\r\n```\r\n\r\nTurns out there is now an official golang sentinel for generated code.  This allows linters to ignore the generated code and other goodies.\r\n\r\nSee:\r\n\r\nhttps://golang.org/s/generatedcode \r\n\r\nBut to save you the click through, it's just this:\r\n\r\n```\r\nGenerated files are marked by a line of text that matches the regular expression, in Go syntax:\r\n^// Code generated .* DO NOT EDIT\\.$\r\nThe .* means the tool can put whatever folderol it wants in there, but the comment must be a single line and must start with Code generated and end with DO NOT EDIT., with a period.\r\n\r\nThe text may appear anywhere in the file.\r\n```\r\n\r\nHappy to do a PR\r\n\r\nregards,\r\n\r\nn\r\n"},"comment":{"url":"https://api.github.com/repos/tinylib/msgp/issues/comments/400807497","html_url":"https://github.com/tinylib/msgp/issues/229#issuecomment-400807497","issue_url":"https://api.github.com/repos/tinylib/msgp/issues/229","id":400807497,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDgwNzQ5Nw==","user":{"login":"client9","id":217179,"node_id":"MDQ6VXNlcjIxNzE3OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/217179?v=4","gravatar_id":"","url":"https://api.github.com/users/client9","html_url":"https://github.com/client9","followers_url":"https://api.github.com/users/client9/followers","following_url":"https://api.github.com/users/client9/following{/other_user}","gists_url":"https://api.github.com/users/client9/gists{/gist_id}","starred_url":"https://api.github.com/users/client9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/client9/subscriptions","organizations_url":"https://api.github.com/users/client9/orgs","repos_url":"https://api.github.com/users/client9/repos","events_url":"https://api.github.com/users/client9/events{/privacy}","received_events_url":"https://api.github.com/users/client9/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T19:50:33Z","updated_at":"2018-06-27T19:50:33Z","author_association":"NONE","body":"ready for review."}}
{"actor":{"display_login":"client9"}}