run gofumpt, enable the gofumpt linter

This commit is contained in:
Marten Seemann 2020-10-25 12:43:26 +07:00
parent 598f975024
commit 8752576f26
50 changed files with 132 additions and 109 deletions

View file

@ -22,8 +22,10 @@ type responseWriter struct {
logger utils.Logger
}
var _ http.ResponseWriter = &responseWriter{}
var _ http.Flusher = &responseWriter{}
var (
_ http.ResponseWriter = &responseWriter{}
_ http.Flusher = &responseWriter{}
)
func newResponseWriter(stream io.Writer, logger utils.Logger) *responseWriter {
return &responseWriter{