auth/google.go
Method Auther.GetGoogleOAuthInfo
has 7 return statements (exceeds 4 allowed). Open
Open
func (a *Auther) GetGoogleOAuthInfo(resState string, code string) (*OAuthInfo, error) {
if resState != a.state {
return nil, fmt.Errorf("invalid state")
}
ctx := context.Background()