all: run gofumpt (#652)

* all: run gofumpt

https://github.com/mvdan/gofumpt

The main appeal for me here is that my (and many other peoples')
editors run this on save, so doing a single diff here
keeps other diffs minimal.

* .github/workflows: add gofumpt checker
This commit is contained in:
Josh Bleecher Snyder 2025-08-29 20:04:31 -07:00 committed by GitHub
parent 6b9dbc3b05
commit 89ab72bee0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 63 additions and 145 deletions

View file

@ -17,7 +17,6 @@ func TestDial(t *testing.T) {
defer conn.Close()
go func() {
_, _ = conn.Write([]byte("hello"))
}()
buf := make([]byte, 5)

View file

@ -164,7 +164,6 @@ func (s *server) Logs(req *StartLogRequest, stream SshPiperPlugin_LogsServer) er
}
func (s *server) ListCallbacks(ctx context.Context, req *ListCallbackRequest) (*ListCallbackResponse, error) {
var cb []string
if s.config.NewConnectionCallback != nil {
@ -362,7 +361,6 @@ func (s *server) KeyboardInteractiveAuth(stream SshPiperPlugin_KeyboardInteracti
return userInput.Answers[0], nil
})
if err != nil {
return err
}