MCPcopy Create free account
hub / github.com/abice/go-enum / MatchesValues

Function MatchesValues

example/sql_1_11_test.go:45–49  ·  view source on GitHub ↗
(vals ...driver.Value)

Source from the content-addressed store, hash-verified

43}
44
45func MatchesValues(vals ...driver.Value) *DriverValueMatcher {
46 return &DriverValueMatcher{
47 values: vals,
48 }
49}
50
51// Matches returns whether x is a match.
52func (d *DriverValueMatcher) Matches(x interface{}) bool {

Callers 4

TestExampleSQLFunction · 0.85
TestExampleSQLStrOnlyFunction · 0.85
TestExampleSQLIntOnlyFunction · 0.85
TestExampleSQLStrIntOnlyFunction · 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…