MCPcopy Create free account
hub / github.com/pingcap/failpoint / Value

Interface Value

failpoint.go:35–35  ·  view source on GitHub ↗

Value represents value that retrieved from failpoint terms. It can be used as following types: 1. val.(int) // GO_FAILPOINTS="failpoint-name=return(1)" 2. val.(string) // GO_FAILPOINTS="failpoint-name=return(\"1\")" 3. val.(bool) // GO_FAILPOINTS="failpoint-name=return(true)"

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…