MCPcopy
hub / github.com/ent/ent / P

Struct P

dialect/sql/scan_test.go:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118 err := ScanSlice(toRows(mock), nil)
119 require.EqualError(t, err, "sql/scan: ScanSlice(nil)")
120 type P struct {
121 _ int
122 ID int
123 First string
124 Last string
125 }
126 var p []P
127 err = ScanSlice(toRows(mock), p)
128 require.EqualError(t, err, "sql/scan: ScanSlice(non-pointer []sql.P)")

Callers 15

NicknameSearchFunction · 0.92
NameGlobFunction · 0.92
HasKeyFunction · 0.92
ValueIsNullFunction · 0.92
ValueIsNotNullFunction · 0.92
ValueEQFunction · 0.92
ValueNEQFunction · 0.92
ValueGTFunction · 0.92
ValueGTEFunction · 0.92
ValueLTFunction · 0.92
ValueLTEFunction · 0.92
ValueContainsFunction · 0.92

Calls

no outgoing calls

Tested by 1

NicknameSearchFunction · 0.74