{"action":"created","issue":{"url":"https://api.github.com/repos/ardanlabs/service/issues/16","repository_url":"https://api.github.com/repos/ardanlabs/service","labels_url":"https://api.github.com/repos/ardanlabs/service/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/ardanlabs/service/issues/16/comments","events_url":"https://api.github.com/repos/ardanlabs/service/issues/16/events","html_url":"https://github.com/ardanlabs/service/issues/16","id":336342514,"node_id":"MDU6SXNzdWUzMzYzNDI1MTQ=","number":16,"title":"Consider using a struct for config","user":{"login":"nstogner","id":10274189,"node_id":"MDQ6VXNlcjEwMjc0MTg5","avatar_url":"https://avatars1.githubusercontent.com/u/10274189?v=4","gravatar_id":"","url":"https://api.github.com/users/nstogner","html_url":"https://github.com/nstogner","followers_url":"https://api.github.com/users/nstogner/followers","following_url":"https://api.github.com/users/nstogner/following{/other_user}","gists_url":"https://api.github.com/users/nstogner/gists{/gist_id}","starred_url":"https://api.github.com/users/nstogner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstogner/subscriptions","organizations_url":"https://api.github.com/users/nstogner/orgs","repos_url":"https://api.github.com/users/nstogner/repos","events_url":"https://api.github.com/users/nstogner/events{/privacy}","received_events_url":"https://api.github.com/users/nstogner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-27T18:37:55Z","updated_at":"2018-06-27T18:40:22Z","closed_at":null,"author_association":"NONE","body":"I like the idea of having a `type config struct` in the `main` package. It provides a simple declarative way of showing all inputs that can effective application behavior. You can then populate it from the env (i.e. https://github.com/kelseyhightower/envconfig) or somewhere else on startup."},"comment":{"url":"https://api.github.com/repos/ardanlabs/service/issues/comments/400787855","html_url":"https://github.com/ardanlabs/service/issues/16#issuecomment-400787855","issue_url":"https://api.github.com/repos/ardanlabs/service/issues/16","id":400787855,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDc4Nzg1NQ==","user":{"login":"nstogner","id":10274189,"node_id":"MDQ6VXNlcjEwMjc0MTg5","avatar_url":"https://avatars1.githubusercontent.com/u/10274189?v=4","gravatar_id":"","url":"https://api.github.com/users/nstogner","html_url":"https://github.com/nstogner","followers_url":"https://api.github.com/users/nstogner/followers","following_url":"https://api.github.com/users/nstogner/following{/other_user}","gists_url":"https://api.github.com/users/nstogner/gists{/gist_id}","starred_url":"https://api.github.com/users/nstogner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nstogner/subscriptions","organizations_url":"https://api.github.com/users/nstogner/orgs","repos_url":"https://api.github.com/users/nstogner/repos","events_url":"https://api.github.com/users/nstogner/events{/privacy}","received_events_url":"https://api.github.com/users/nstogner/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T18:40:22Z","updated_at":"2018-06-27T18:40:22Z","author_association":"NONE","body":"This also makes it easy to inspect configuration options/defaults. For example: https://godoc.org/github.com/kelseyhightower/envconfig#Usage"}}
{"actor":{"display_login":"nstogner"}}