MCPcopy Create free account
hub / github.com/cloud-native-go/examples / Slow

Function Slow

ch04/timeout_test.go:47–50  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

45}
46
47func Slow(s string) (string, error) {
48 time.Sleep(time.Second)
49 return "Got input: " + s, nil
50}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected