fix some lint errors

This commit is contained in:
sentriz
2020-03-11 18:34:34 +00:00
parent 8fa7e77b07
commit b5e96f65e4
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)