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

@@ -89,7 +89,8 @@ func (t *connectionTracer) run() {
},
EventFields: eventFields[:],
},
}}
},
}
if err := enc.Encode(tl); err != nil {
panic(fmt.Sprintf("qlog encoding into a bytes.Buffer failed: %s", err))
}