{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/9157","labels_url":"https://api.github.com/repos/golang/go/issues/9157/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9157/comments","events_url":"https://api.github.com/repos/golang/go/issues/9157/events","html_url":"https://github.com/golang/go/issues/9157","id":51289169,"number":9157,"title":"database/sql: document allowed Scan conversions","user":{"login":"dadkins","id":507004,"avatar_url":"https://avatars.githubusercontent.com/u/507004?v=3","gravatar_id":"","url":"https://api.github.com/users/dadkins","html_url":"https://github.com/dadkins","followers_url":"https://api.github.com/users/dadkins/followers","following_url":"https://api.github.com/users/dadkins/following{/other_user}","gists_url":"https://api.github.com/users/dadkins/gists{/gist_id}","starred_url":"https://api.github.com/users/dadkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadkins/subscriptions","organizations_url":"https://api.github.com/users/dadkins/orgs","repos_url":"https://api.github.com/users/dadkins/repos","events_url":"https://api.github.com/users/dadkins/events{/privacy}","received_events_url":"https://api.github.com/users/dadkins/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/Documentation","name":"Documentation","color":"aaffaa"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/24","html_url":"https://github.com/golang/go/milestones/Go1.6","labels_url":"https://api.github.com/repos/golang/go/milestones/24/labels","id":1096159,"number":24,"title":"Go1.6","description":"","creator":{"login":"josharian","id":67496,"avatar_url":"https://avatars.githubusercontent.com/u/67496?v=3","gravatar_id":"","url":"https://api.github.com/users/josharian","html_url":"https://github.com/josharian","followers_url":"https://api.github.com/users/josharian/followers","following_url":"https://api.github.com/users/josharian/following{/other_user}","gists_url":"https://api.github.com/users/josharian/gists{/gist_id}","starred_url":"https://api.github.com/users/josharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharian/subscriptions","organizations_url":"https://api.github.com/users/josharian/orgs","repos_url":"https://api.github.com/users/josharian/repos","events_url":"https://api.github.com/users/josharian/events{/privacy}","received_events_url":"https://api.github.com/users/josharian/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":625,"state":"open","created_at":"2015-05-05T02:39:06Z","updated_at":"2016-01-26T15:25:32Z","due_on":"2016-01-31T08:00:00Z","closed_at":null},"comments":6,"created_at":"2014-11-24T20:02:17Z","updated_at":"2016-01-26T21:00:16Z","closed_at":null,"body":"<pre>What does 'go version' print?\n\ngo version go1.3.3 darwin/amd64\n\nWhat steps reproduce the problem?\nIf possible, include a link to a program on play.golang.org.\n\n<a href=\"http://play.golang.org/p/mk7wJKtz4H\">http://play.golang.org/p/mk7wJKtz4H</a>\n\nWhat happened?\n\nNullString.Scan didn't accept a time.Time value:\n\nerror: unsupported driver -&gt; Scan pair: time.Time -&gt; *string\n\nWhat should have happened instead?\n\nIt should have converted the time.Time value into a string, just it does with any other\ntype that Scan accepts.\n\nPlease provide any additional information below.\n\nThe contract for Scanner says:\n\n        // Scan assigns a value from a database driver.\n        //\n        // The src value will be of one of the following restricted\n        // set of types:\n        //\n        //    int64\n        //    float64\n        //    bool\n        //    []byte\n        //    string\n        //    time.Time\n        //    nil - for NULL values\n        //\n        // An error should be returned if the value can not be stored\n        // without loss of information.\n        Scan(src interface{}) error\n\nAll of the other types work by formatting the values as strings. Given that time.Time\nhas a String() function, I would assume it would be handled as well.</pre>"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/175227801","html_url":"https://github.com/golang/go/issues/9157#issuecomment-175227801","issue_url":"https://api.github.com/repos/golang/go/issues/9157","id":175227801,"user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars.githubusercontent.com/u/8566911?v=3","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T21:00:16Z","updated_at":"2016-01-26T21:00:16Z","body":"CL https://golang.org/cl/18935 mentions this issue."}}