Use new gofumpt (#21613)

Update tinylib. Should fix CI.

`gofumpt -w .&&go generate ./...`
This commit is contained in:
Klaus Post
2025-09-28 22:59:21 +02:00
committed by GitHub
parent 456d9462e5
commit b8631cf531
171 changed files with 881 additions and 899 deletions
+1 -1
View File
@@ -75,6 +75,6 @@ func DialContextWithLookupHost(lookupHost LookupHost, baseDialCtx DialContext) D
}
}
return
return conn, err
}
}
+2 -2
View File
@@ -172,7 +172,7 @@ func newHTTPListener(ctx context.Context, serverAddrs []string, opts TCPOptions)
if len(listeners) == 0 {
// No listeners initialized, no need to continue
return
return listener, listenErrs
}
listeners = slices.Clip(listeners)
@@ -187,5 +187,5 @@ func newHTTPListener(ctx context.Context, serverAddrs []string, opts TCPOptions)
opts.Trace(fmt.Sprintf("opening %d listeners", len(listener.listeners)))
listener.start()
return
return listener, listenErrs
}
+1 -1
View File
@@ -132,7 +132,7 @@ func (srv *Server) Init(listenCtx context.Context, listenErrCallback func(listen
return srv.Serve(l)
}
return
return serve, err
}
// Shutdown - shuts down HTTP server.