golang/oauth2 — pull request #56 by theatrus (2014-11-26 02:53:07+00:00)
Title: Allow expires to be consumed from JSON responses

json.Unmarshal makes all numeric types become a Float64, which means the check for expires_in will always fail.

Extract the field as a float64 and cast to int