From e8c6e0384177795db72b5fd6bc3379d391f63596 Mon Sep 17 00:00:00 2001 From: cryo Date: Mon, 28 Jul 2025 19:51:49 +0800 Subject: [PATCH] fix comment (#180) update comment for func `clientMethod` --- mcp/shared.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcp/shared.go b/mcp/shared.go index fef2094..49dd2b1 100644 --- a/mcp/shared.go +++ b/mcp/shared.go @@ -203,7 +203,7 @@ func serverMethod[P Params, R Result]( } } -// clientMethod is glue for creating a typedMethodHandler from a method on Server. +// clientMethod is glue for creating a typedMethodHandler from a method on Client. func clientMethod[P Params, R Result]( f func(*Client, context.Context, *ClientSession, P) (R, error), ) typedMethodHandler[*ClientSession, P, R] {