Skip to content

Commit 42f419f

Browse files
mcp/examples: move elicitation example into example folder (#354)
Rename and move the example into the examples folder.
1 parent e3e8aaf commit 42f419f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mcp/elicitation_example_test.go renamed to examples/server/elicitation/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// Use of this source code is governed by an MIT-style
33
// license that can be found in the LICENSE file.
44

5-
package mcp_test
5+
package main
66

77
import (
88
"context"
@@ -13,7 +13,7 @@ import (
1313
"github.com/modelcontextprotocol/go-sdk/mcp"
1414
)
1515

16-
func Example_elicitation() {
16+
func main() {
1717
ctx := context.Background()
1818
clientTransport, serverTransport := mcp.NewInMemoryTransports()
1919

0 commit comments

Comments
 (0)