examples: Update and fix outdated (#420)
Update examples/server/rate-limiting to use the same replace directive strategy as the auth-middleware example, and fix the breakages. Also remove the unneeded type parameters in examples/client/middleware.
This commit is contained in:
parent
9d34aff732
commit
b774809086
1 changed files with 32 additions and 25 deletions
|
|
@ -2,9 +2,14 @@ module github.com/modelcontextprotocol/go-sdk/examples/rate-limiting
|
|||
|
||||
go 1.23.0
|
||||
|
||||
toolchain go1.24.4
|
||||
|
||||
require (
|
||||
github.com/modelcontextprotocol/go-sdk v0.1.0
|
||||
github.com/modelcontextprotocol/go-sdk v0.3.0
|
||||
golang.org/x/time v0.12.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/google/jsonschema-go v0.2.1-0.20250825175020-748c325cec76 // indirect
|
||||
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
||||
)
|
||||
|
||||
replace github.com/modelcontextprotocol/go-sdk => ../../../
|
||||
|
|
|
|||
Loading…
Reference in a new issue