fix golint issues

This commit is contained in:
Sebastian Sprenger
2017-10-06 07:29:13 +02:00
parent c3cc74dac7
commit c202606a17
4 changed files with 13 additions and 13 deletions

4
app.go
View File

@@ -491,7 +491,7 @@ func HandleAction(action interface{}, context *Context) (err error) {
} else if a, ok := action.(func(*Context)); ok { // deprecated function signature
a(context)
return nil
} else {
return errInvalidActionType
}
return errInvalidActionType
}