Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/modelcontextprotocol/go-sdk
/ orFatal
Function
orFatal
mcp/streamable_example_test.go:82–87 ·
view source on GitHub ↗
(t T, err error)
Source
from the content-addressed store, hash-verified
80
}
81
82
func
orFatal[T any](t T, err error) T {
83
if
err != nil {
84
log.Fatal(err)
85
}
86
return
t
87
}
Callers
1
mustPostMessage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…