Converted timing-based tests to use Go 1.25's synctest for instant, deterministic execution with simulated time. Moved converted tests to *_go125_test.go files. Tests using real I/O (exec.Command, httptest) remain timing-based as they require actual system operations. Fixes #680 --------- Co-authored-by: i586147 <lakshana.goswami@sap.com>
15 lines
348 B
Modula-2
15 lines
348 B
Modula-2
module github.com/modelcontextprotocol/go-sdk/examples/rate-limiting
|
|
|
|
go 1.23.0
|
|
|
|
require (
|
|
github.com/modelcontextprotocol/go-sdk v0.3.0
|
|
golang.org/x/time v0.12.0
|
|
)
|
|
|
|
require (
|
|
github.com/google/jsonschema-go v0.4.2 // indirect
|
|
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
|
|
)
|
|
|
|
replace github.com/modelcontextprotocol/go-sdk => ../../../
|