fix golint issues, redis methods (#455)

This commit is contained in:
Kevin Wan
2021-02-09 10:58:11 +08:00
committed by GitHub
parent 06f6dc9937
commit 42883d0899
4 changed files with 193 additions and 153 deletions

View File

@@ -60,9 +60,9 @@ func (a *Authenticator) validate(app, token string) error {
if err != nil {
if a.strict {
return status.Error(codes.Internal, err.Error())
} else {
return nil
}
return nil
}
if token != expect {