move gofumpt to golang-ci

This commit is contained in:
Minio Trusted
2022-01-06 13:08:21 -08:00
parent 3d66d053c7
commit 76877eb6fa
6 changed files with 34 additions and 17 deletions

View File

@@ -406,8 +406,10 @@ type minioProfiler interface {
}
// Global profiler to be used by service go-routine.
var globalProfiler map[string]minioProfiler
var globalProfilerMu sync.Mutex
var (
globalProfiler map[string]minioProfiler
globalProfilerMu sync.Mutex
)
// dump the request into a string in JSON format.
func dumpRequest(r *http.Request) string {