auth/twitter.go
Method Auther.GetTwitterOAuthInfo
has 5 return statements (exceeds 4 allowed). Open
Open
func (a *Auther) GetTwitterOAuthInfo(tmpCred *oauth.Credentials, tmpSecret string) (*OAuthInfo, error) {
cred, values, err := twitterClient.RequestToken(&http.Client{}, tmpCred, tmpSecret)
if err != nil {
return nil, err
}