all: fix some function names and typos in comment
Change-Id: I8066b22cb87e09fb160de3b8ff2d8fdde6ec3dcf Reviewed-on: https://go-review.googlesource.com/c/tools/+/675815 Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
parent
8962b38ba5
commit
b7d1ec0604
1 changed files with 11 additions and 11 deletions
|
|
@ -25,7 +25,7 @@ func main() {
|
|||
// Create a server with a single tool.
|
||||
server := mcp.NewServer("greeter", "v1.0.0", nil)
|
||||
server.AddTools(mcp.NewTool("greet", "say hi", SayHi))
|
||||
// Run the server over stdin/stdout, until the client diconnects
|
||||
// Run the server over stdin/stdout, until the client disconnects
|
||||
_ = server.Run(context.Background(), mcp.NewStdIOTransport())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue