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