Preparing report...

Report for github.com/linkernetworks/oauth

B    Not bad!    Found 55 issues across 72 files

Tweet

gofmt80%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo100%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

No problems detected. Good job!


golint58%

Golint is a linter for Go source code.

    • oauth/src/config/config.go
    • Line 8: warning: exported type GlobalConfig should have comment or be unexported (golint)
    • Line 20: warning: exported var DefaultConfig should have comment or be unexported (golint)
    • Line 54: warning: exported var DevelopConfig should have comment or be unexported (golint)
    • oauth/src/testing/config.go
    • Line 9: warning: exported const LOCAL_TESTING_CONFIG should have comment or be unexported (golint)
    • Line 10: warning: exported const DEFAULT_TESTING_CONFIG should have comment or be unexported (golint)
    • Line 12: warning: exported function GetCurrentConfigPath should have comment or be unexported (golint)
    • oauth/src/entity/user.go
    • Line 13: warning: exported const UserCollectionName should have comment (or a comment on this block) or be unexported (golint)
    • Line 18: warning: exported type User should have comment or be unexported (golint)
    • Line 42: warning: exported method User.GetCollection should have comment or be unexported (golint)
    • Line 46: warning: exported method User.FullName should have comment or be unexported (golint)
    • Line 50: warning: comment on exported method User.SetVerificationCode should be of the form "SetVerificationCode ..." (golint)
    • Line 56: warning: exported method User.HasRole should have comment or be unexported (golint)
    • Line 65: warning: exported method User.GetVerificationCode should have comment or be unexported (golint)
    • Line 69: warning: exported method User.SetVerified should have comment or be unexported (golint)
    • Line 74: warning: exported method User.MatchVerificationCode should have comment or be unexported (golint)
    • Line 78: warning: exported method User.GetCellPhoneNumber should have comment or be unexported (golint)
    • Line 82: warning: exported method User.GenerateToken should have comment or be unexported (golint)
    • Line 107: warning: exported method User.GenerateJwtToken should have comment or be unexported (golint)
    • Line 121: warning: exported method User.ParseJwtToken should have comment or be unexported (golint)
    • oauth/src/validator/validator.go
    • Line 8: warning: comment on exported function ValidateEmail should be of the form "ValidateEmail ..." (golint)
    • Line 37: warning: comment on exported function ValidatePassword should be of the form "ValidatePassword ..." (golint)
    • Line 59: warning: exported function ValidateCellphone should have comment or be unexported (golint)
    • oauth/src/sms/sms_client.go
    • Line 5: warning: comment on exported type TwilioConfig should be of the form "TwilioConfig ..." (with optional leading article) (golint)
    • Line 22: warning: exported function NewSMSClient should have comment or be unexported (golint)
    • Line 29: warning: exported function NewSMSClientFromConfig should have comment or be unexported (golint)
    • Line 37: warning: comment on exported method SMSClient.SendMessage should be of the form "SendMessage ..." (golint)
    • oauth/src/mongo/client.go
    • Line 10: warning: comment on exported type MongoClient should be of the form "MongoClient ..." (with optional leading article) (golint)
    • Line 16: warning: comment on exported function NewMongoClient should be of the form "NewMongoClient ..." (golint)
    • oauth/src/app/app_service.go
    • Line 22: warning: exported function NewServiceProvider should have comment or be unexported (golint)
    • Line 26: warning: exported function NewRedisService should have comment or be unexported (golint)
    • Line 29: warning: exported function NewServiceProviderFromConfig should have comment or be unexported (golint)
    • oauth/src/osinstorage/memory.go
    • Line 11: warning: exported type MemoryStorage should have comment or be unexported (golint)
    • Line 22: warning: exported function NewMemoryStorage should have comment or be unexported (golint)
    • Line 37: warning: exported method MemoryStorage.Clone should have comment or be unexported (golint)
    • Line 41: warning: exported method MemoryStorage.Close should have comment or be unexported (golint)
    • Line 44: warning: exported method MemoryStorage.GetClient should have comment or be unexported (golint)
    • Line 61: warning: exported method MemoryStorage.SetClient should have comment or be unexported (golint)
    • Line 76: warning: exported method MemoryStorage.SaveAuthorize should have comment or be unexported (golint)
    • Line 86: warning: exported method MemoryStorage.LoadAuthorize should have comment or be unexported (golint)
    • Line 98: warning: exported method MemoryStorage.RemoveAuthorize should have comment or be unexported (golint)
    • Line 108: warning: exported method MemoryStorage.SaveAccess should have comment or be unexported (golint)
    • Line 123: warning: exported method MemoryStorage.LoadAccess should have comment or be unexported (golint)
    • Line 135: warning: exported method MemoryStorage.RemoveAccess should have comment or be unexported (golint)
    • Line 145: warning: exported method MemoryStorage.LoadRefresh should have comment or be unexported (golint)
    • Line 157: warning: exported method MemoryStorage.RemoveRefresh should have comment or be unexported (golint)
    • oauth/src/app/api.go
    • Line 4: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 12: warning: exported const CERT_PRIVATE_KEY should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported type RequestHandler should have comment or be unexported (golint)
    • Line 18: warning: exported function AppRoutes should have comment or be unexported (golint)
    • Line 72: warning: exported function Start should have comment or be unexported (golint)
    • Line 76: warning: exported function StartSsl should have comment or be unexported (golint)
    • oauth/src/mongo/config.go
    • Line 3: warning: comment on exported type MongoConfig should be of the form "MongoConfig ..." (with optional leading article) (golint)
    • oauth/src/app/config/app_config.go
    • Line 9: warning: comment on exported type AppConfig should be of the form "AppConfig ..." (with optional leading article) (golint)
    • Line 17: warning: comment on exported type OAuthConfig should be of the form "OAuthConfig ..." (with optional leading article) (golint)
    • Line 25: warning: exported type EncryptionConfig should have comment or be unexported (golint)
    • oauth/src/entity/application.go
    • Line 8: warning: exported type Application should have comment or be unexported (golint)
    • Line 20: warning: exported method Application.GenerateToken should have comment or be unexported (golint)
    • Line 31: warning: exported method Application.GetSecret should have comment or be unexported (golint)
    • Line 35: warning: exported method Application.GetRedirectUri should have comment or be unexported (golint)
    • Line 39: warning: exported method Application.GetUserData should have comment or be unexported (golint)
    • oauth/src/app/storage/storage.go
    • Line 21: warning: exported type OsinStorage should have comment or be unexported (golint)
    • Line 26: warning: exported function NewOsinStorage should have comment or be unexported (golint)
    • Line 50: warning: exported method OsinStorage.Clone should have comment or be unexported (golint)
    • Line 60: warning: exported method OsinStorage.Close should have comment or be unexported (golint)
    • oauth/src/webservice/routes.go
    • Line 9: warning: exported type Service should have comment or be unexported (golint)
    • Line 15: warning: exported function New should have comment or be unexported (golint)
    • Line 36: warning: exported method Service.WebService should have comment or be unexported (golint)
    • oauth/src/validator/validation_map.go
    • Line 3: warning: exported type ValidationMap should have comment or be unexported (golint)
    • Line 5: warning: exported method ValidationMap.HasError should have comment or be unexported (golint)
    • Line 14: warning: exported type FieldValidation should have comment or be unexported (golint)
    • oauth/src/verification/verify.go
    • Line 9: warning: exported var SmsVerificationCodeMessageFormat should have comment or be unexported (golint)
    • Line 11: warning: exported type VerificationProcessReceiver should have comment or be unexported (golint)
    • Line 23: warning: exported function Verify should have comment or be unexported (golint)
    • Line 27: warning: exported function Send should have comment or be unexported (golint)
    • oauth/src/server/server.go
    • Line 17: warning: exported type OAuthServer should have comment or be unexported (golint)
    • Line 23: warning: exported function New should have comment or be unexported (golint)
    • Line 34: warning: exported method OAuthServer.ListenAndServe should have comment or be unexported (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign47%

IneffAssign detects ineffectual assignments in Go code.

    • oauth/src/util/util_test.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/stretchr/testify/assert (invalid package name: "") (ineffassign)
    • oauth/src/app/storage/storage.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import gopkg.in/mgo.v2 (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)
    • Line 22: warning: undeclared name: mgo (ineffassign)
    • Line 28: warning: undeclared name: mgo (ineffassign)
    • Line 37: warning: undeclared name: mgo (ineffassign)
    • Line 10: warning: "gopkg.in/mgo.v2" imported but not used (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import gopkg.in/mgo.v2 (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)
    • Line 22: warning: undeclared name: mgo (ineffassign)
    • Line 28: warning: undeclared name: mgo (ineffassign)
    • Line 37: warning: undeclared name: mgo (ineffassign)
    • Line 10: warning: "gopkg.in/mgo.v2" imported but not used (ineffassign)
    • oauth/src/app/config/config.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • oauth/src/verification/verify.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • oauth/src/app/storage/access_data.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/entity (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/entity (invalid package name: "") (ineffassign)
    • oauth/src/app/sms_code.go
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/verification (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/verification (invalid package name: "") (ineffassign)
    • oauth/src/webservice/authorize_test.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/linkernetworks/oauth/src/config (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/linkernetworks/oauth/src/osinstorage (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/stretchr/testify/require (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/stretchr/testify/suite (invalid package name: "") (ineffassign)
    • Line 37: warning: s.T undefined (type *AuthorizeTestSuit has no field or method T) (ineffassign)
    • Line 56: warning: s.T undefined (type *AuthorizeTestSuit has no field or method T) (ineffassign)
    • Line 63: warning: s.Equal undefined (type *AuthorizeTestSuit has no field or method Equal) (ineffassign)
    • Line 64: warning: s.Regexp undefined (type *AuthorizeTestSuit has no field or method Regexp) (ineffassign)
    • oauth/src/sms/sms_client.go
    • Line 3: warning: cannot find package "." in: (ineffassign)
    • Line 3: warning: could not import github.com/sfreiberg/gotwilio (invalid package name: "") (ineffassign)
    • Line 3: warning: could not import github.com/sfreiberg/gotwilio (invalid package name: "") (ineffassign)
    • oauth/src/entity/application.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/util (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/util (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)
    • oauth/src/webservice/routes.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • oauth/src/osinstorage/memory.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • oauth/src/httphandler/authorize.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gin-gonic/gin (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gin-gonic/gin (invalid package name: "") (ineffassign)
    • oauth/src/httphandler/login.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • oauth/src/httphandler/token_test.go
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/linkernetworks/oauth/src/osinstorage (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/linkernetworks/oauth/src/config (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/stretchr/testify/assert (invalid package name: "") (ineffassign)
    • oauth/src/app/app_service.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/app/config (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/oauth/src/app/storage (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/linkernetworks/foundation/service/redis (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gorilla/sessions (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/app/config (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/linkernetworks/oauth/src/app/storage (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/linkernetworks/foundation/service/redis (invalid package name: "") (ineffassign)
    • oauth/src/webservice/authorize.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/emicklei/go-restful (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/emicklei/go-restful (invalid package name: "") (ineffassign)
    • oauth/src/app/config/app_config.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/foundation/service/redis (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/linkernetworks/oauth/src/mongo (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/linkernetworks/oauth/src/sms (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/foundation/service/redis (invalid package name: "") (ineffassign)
    • oauth/src/util/util.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import golang.org/x/crypto/scrypt (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import golang.org/x/crypto/scrypt (invalid package name: "") (ineffassign)
    • oauth/src/httphandler/check_authorized_user.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/gin-contrib/sessions (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/gin-contrib/sessions (invalid package name: "") (ineffassign)
    • oauth/src/entity/user.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/dgrijalva/jwt-go (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/dgrijalva/jwt-go (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • oauth/src/app/storage/storage_test.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/linkernetworks/oauth/src/util (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/stretchr/testify/assert (invalid package name: "") (ineffassign)
    • oauth/src/server/server.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/emicklei/go-restful (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/gin-contrib/sessions/memstore (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/gorilla/mux (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/gorilla/securecookie (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/linkernetworks/oauth/src/config (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/linkernetworks/oauth/src/osinstorage (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/linkernetworks/oauth/src/webservice (invalid package name: "") (ineffassign)
    • oauth/src/cmd/oauth_server/main.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/linkernetworks/oauth/src/config (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/linkernetworks/oauth/src/server (invalid package name: "") (ineffassign)
    • oauth/src/webservice/token_test.go
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: could not import github.com/tidwall/gjson (invalid package name: "") (ineffassign)
    • Line 48: warning: s.T undefined (type *TokenTestSuit has no field or method T) (ineffassign)
    • Line 77: warning: s.T undefined (type *TokenTestSuit has no field or method T) (ineffassign)
    • Line 85: warning: s.Equal undefined (type *TokenTestSuit has no field or method Equal) (ineffassign)
    • Line 89: warning: s.Require undefined (type *TokenTestSuit has no field or method Require) (ineffassign)
    • Line 90: warning: s.Equal undefined (type *TokenTestSuit has no field or method Equal) (ineffassign)
    • Line 91: warning: s.Require undefined (type *TokenTestSuit has no field or method Require) (ineffassign)
    • Line 92: warning: s.Regexp undefined (type *TokenTestSuit has no field or method Regexp) (ineffassign)
    • Line 93: warning: s.Require undefined (type *TokenTestSuit has no field or method Require) (ineffassign)
    • Line 94: warning: s.Regexp undefined (type *TokenTestSuit has no field or method Regexp) (ineffassign)
    • oauth/src/config/config.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/RangelReale/osin (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • oauth/src/log/log.go
    • Line 3: warning: cannot find package "." in: (ineffassign)
    • Line 3: warning: could not import github.com/linkernetworks/logger (invalid package name: "") (ineffassign)
    • oauth/src/cmd/lnk-auth/main.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/linkernetworks/oauth/src/app (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/app/config (invalid package name: "") (ineffassign)
    • oauth/src/app/api_test.go
    • Line 19: warning: cannot find package "." in: (ineffassign)
    • Line 19: warning: could not import github.com/linkernetworks/oauth/src/testing (invalid package name: "") (ineffassign)
    • oauth/src/mongo/client.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import gopkg.in/mgo.v2 (invalid package name: "") (ineffassign)
    • Line 12: warning: undeclared name: mgo (ineffassign)
    • Line 19: warning: undeclared name: mgo (ineffassign)
    • Line 28: warning: undeclared name: mgo (ineffassign)
    • Line 7: warning: "gopkg.in/mgo.v2" imported but not used (ineffassign)
    • oauth/src/app/api.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/gin-contrib/cors (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gorilla/mux (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/nicksnyder/go-i18n/i18n (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • Line 4: warning: could not import github.com/gin-contrib/cors (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/gorilla/mux (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/nicksnyder/go-i18n/i18n (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/sirupsen/logrus (invalid package name: "") (ineffassign)
    • oauth/src/app/app_signup.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 9: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/entity (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/linkernetworks/oauth/src/util (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/validator (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/gin-gonic/gin (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/linkernetworks/oauth/src/entity (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/linkernetworks/oauth/src/util (invalid package name: "") (ineffassign)
    • Line 9: warning: could not import github.com/linkernetworks/oauth/src/validator (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/gin-gonic/gin (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import gopkg.in/mgo.v2/bson (invalid package name: "") (ineffassign)

misspell98%

Misspell Finds commonly misspelled English words