{"action":"closed","issue":{"url":"https://api.github.com/repos/jeffotoni/gcolor/issues/1","repository_url":"https://api.github.com/repos/jeffotoni/gcolor","labels_url":"https://api.github.com/repos/jeffotoni/gcolor/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jeffotoni/gcolor/issues/1/comments","events_url":"https://api.github.com/repos/jeffotoni/gcolor/issues/1/events","html_url":"https://github.com/jeffotoni/gcolor/issues/1","id":251705831,"node_id":"MDU6SXNzdWUyNTE3MDU4MzE=","number":1,"title":"API proposal","user":{"login":"renannprado","id":2359543,"node_id":"MDQ6VXNlcjIzNTk1NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/2359543?v=4","gravatar_id":"","url":"https://api.github.com/users/renannprado","html_url":"https://github.com/renannprado","followers_url":"https://api.github.com/users/renannprado/followers","following_url":"https://api.github.com/users/renannprado/following{/other_user}","gists_url":"https://api.github.com/users/renannprado/gists{/gist_id}","starred_url":"https://api.github.com/users/renannprado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renannprado/subscriptions","organizations_url":"https://api.github.com/users/renannprado/orgs","repos_url":"https://api.github.com/users/renannprado/repos","events_url":"https://api.github.com/users/renannprado/events{/privacy}","received_events_url":"https://api.github.com/users/renannprado/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-21T16:08:59Z","updated_at":"2018-10-12T12:45:11Z","closed_at":"2018-10-12T12:45:11Z","author_association":"NONE","body":"Having to instantiate a struct for each color you want to print isn't too much user friendly.\r\nSo I propose the following API:\r\n\r\n```go\r\ntype ColoredPrinter interface {\r\n    Print(Color, string, ...interface{})\r\n}\r\n```\r\n\r\nSample usage:\r\n\r\n```go\r\nprinter.Print(RED_FG, \"test string %s\", \"mytest\")\r\n```\r\n"}}
{"actor":{"display_login":"renannprado"}}