fix comment (#180)

update comment for func `clientMethod`
This commit is contained in:
cryo 2025-07-28 19:51:49 +08:00 • committed by GitHub
commit e8c6e03841
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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] {