{"action":"created","issue":{"url":"https://api.github.com/repos/bluele/gcache/issues/1","labels_url":"https://api.github.com/repos/bluele/gcache/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/bluele/gcache/issues/1/comments","events_url":"https://api.github.com/repos/bluele/gcache/issues/1/events","html_url":"https://github.com/bluele/gcache/issues/1","id":57637185,"number":1,"title":"how does LoaderFunc handle error?","user":{"login":"bronze1man","id":1107541,"avatar_url":"https://avatars.githubusercontent.com/u/1107541?v=3","gravatar_id":"","url":"https://api.github.com/users/bronze1man","html_url":"https://github.com/bronze1man","followers_url":"https://api.github.com/users/bronze1man/followers","following_url":"https://api.github.com/users/bronze1man/following{/other_user}","gists_url":"https://api.github.com/users/bronze1man/gists{/gist_id}","starred_url":"https://api.github.com/users/bronze1man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronze1man/subscriptions","organizations_url":"https://api.github.com/users/bronze1man/orgs","repos_url":"https://api.github.com/users/bronze1man/repos","events_url":"https://api.github.com/users/bronze1man/events{/privacy}","received_events_url":"https://api.github.com/users/bronze1man/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-13T18:42:32Z","updated_at":"2015-02-25T22:51:53Z","closed_at":"2015-02-25T22:51:53Z","body":"I think following interface may be better.\r\n```\r\ntype LoaderFunc func(key interface{}) (value interface{}, canAdd bool)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/bluele/gcache/issues/comments/76078831","html_url":"https://github.com/bluele/gcache/issues/1#issuecomment-76078831","issue_url":"https://api.github.com/repos/bluele/gcache/issues/1","id":76078831,"user":{"login":"bronze1man","id":1107541,"avatar_url":"https://avatars.githubusercontent.com/u/1107541?v=3","gravatar_id":"","url":"https://api.github.com/users/bronze1man","html_url":"https://github.com/bronze1man","followers_url":"https://api.github.com/users/bronze1man/followers","following_url":"https://api.github.com/users/bronze1man/following{/other_user}","gists_url":"https://api.github.com/users/bronze1man/gists{/gist_id}","starred_url":"https://api.github.com/users/bronze1man/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bronze1man/subscriptions","organizations_url":"https://api.github.com/users/bronze1man/orgs","repos_url":"https://api.github.com/users/bronze1man/repos","events_url":"https://api.github.com/users/bronze1man/events{/privacy}","received_events_url":"https://api.github.com/users/bronze1man/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T22:51:53Z","updated_at":"2015-02-25T22:51:53Z","body":"Thanks,I think return a err should be a good idea."}}