Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CodisLabs/codis
/ Must
Function
Must
pkg/utils/assert/assert.go:8–13 ·
view source on GitHub ↗
(b bool)
Source
from the content-addressed store, hash-verified
6
import
"github.com/CodisLabs/codis/pkg/utils/log"
7
8
func
Must(b bool) {
9
if
b {
10
return
11
}
12
log.Panic(
"assertion failed"
)
13
}
14
15
func
MustNoError(err error) {
16
if
err == nil {
Callers
nothing calls this directly
Calls
1
Panic
Method · 0.80
Tested by
no test coverage detected