Logo TheBeArsenal

Golang | Technical Handbook

gob: type not registered for interface: oauth2.Token

Solution
// Register oauth2.Token for gob encoding and decoding gob.Register(&oauth2.Token{})