fix some lint errors

This commit is contained in:
sentriz
2020-03-11 18:34:34 +00:00
parent cb6f3757a4
commit 1b1049a1b7
3 changed files with 5 additions and 6 deletions

View File

@@ -132,6 +132,7 @@ type Response struct {
err string
}
//nolint:gocognit
func (c *Controller) H(h adminHandler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
resp := h(r)