{"action":"created","issue":{"url":"https://api.github.com/repos/gorilla/sessions/issues/49","labels_url":"https://api.github.com/repos/gorilla/sessions/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/gorilla/sessions/issues/49/comments","events_url":"https://api.github.com/repos/gorilla/sessions/issues/49/events","html_url":"https://github.com/gorilla/sessions/issues/49","id":94547810,"number":49,"title":"Why not use \"comma ok\" idiom to ensure not crash with a run-time error ","user":{"login":"bsnwong","id":4046303,"avatar_url":"https://avatars.githubusercontent.com/u/4046303?v=3","gravatar_id":"","url":"https://api.github.com/users/bsnwong","html_url":"https://github.com/bsnwong","followers_url":"https://api.github.com/users/bsnwong/followers","following_url":"https://api.github.com/users/bsnwong/following{/other_user}","gists_url":"https://api.github.com/users/bsnwong/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnwong/subscriptions","organizations_url":"https://api.github.com/users/bsnwong/orgs","repos_url":"https://api.github.com/users/bsnwong/repos","events_url":"https://api.github.com/users/bsnwong/events{/privacy}","received_events_url":"https://api.github.com/users/bsnwong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-12T08:38:22Z","updated_at":"2015-07-16T14:23:18Z","closed_at":null,"body":"Hi,\r\nWhen I use this package with the functions `Flashes` defined inside the file `sessions/sessions.go` on [line 69](https://github.com/gorilla/sessions/blob/master/sessions.go#L69), I got a panic like this: `interface conversion: interface is string, not []interface {}`, and I found this could be solved by using \"comma ok\" idiom such as `flashes, ok = v.([]interface{})`, which is also mentioned in the [document](https://golang.org/doc/effective_go.html#interface_conversions) of official site \r\n"},"comment":{"url":"https://api.github.com/repos/gorilla/sessions/issues/comments/121970903","html_url":"https://github.com/gorilla/sessions/issues/49#issuecomment-121970903","issue_url":"https://api.github.com/repos/gorilla/sessions/issues/49","id":121970903,"user":{"login":"bsnwong","id":4046303,"avatar_url":"https://avatars.githubusercontent.com/u/4046303?v=3","gravatar_id":"","url":"https://api.github.com/users/bsnwong","html_url":"https://github.com/bsnwong","followers_url":"https://api.github.com/users/bsnwong/followers","following_url":"https://api.github.com/users/bsnwong/following{/other_user}","gists_url":"https://api.github.com/users/bsnwong/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnwong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnwong/subscriptions","organizations_url":"https://api.github.com/users/bsnwong/orgs","repos_url":"https://api.github.com/users/bsnwong/repos","events_url":"https://api.github.com/users/bsnwong/events{/privacy}","received_events_url":"https://api.github.com/users/bsnwong/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T14:23:18Z","updated_at":"2015-07-16T14:23:18Z","body":"@kisielk "}}