Skip to content

Commit 08628b2

Browse files
committed
style: gofumpt formatting for mcp.go
1 parent cc66ad1 commit 08628b2

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎internal/mcp/mcp.go‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,18 @@ func SetClientVersion(v string) { clientVersion = v }
2525

2626
// Server represents a connected MCP server.
2727
type Server struct {
28-
Name string
29-
Command string
30-
Args []string
31-
cmd *exec.Cmd
32-
stdin io.WriteCloser
33-
stdout io.ReadCloser
34-
mu sync.Mutex
35-
nextID int
36-
reader *bufio.Scanner
37-
pending map[int]chan json.RawMessage // response channels keyed by request ID
38-
pendErrors map[int]string // error details keyed by request ID
39-
pendMu sync.Mutex
28+
Name string
29+
Command string
30+
Args []string
31+
cmd *exec.Cmd
32+
stdin io.WriteCloser
33+
stdout io.ReadCloser
34+
mu sync.Mutex
35+
nextID int
36+
reader *bufio.Scanner
37+
pending map[int]chan json.RawMessage // response channels keyed by request ID
38+
pendErrors map[int]string // error details keyed by request ID
39+
pendMu sync.Mutex
4040
}
4141

4242
// Tool is a tool exposed by an MCP server.

0 commit comments

Comments
 (0)