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

Function NewNullJobState

example/sql_str_enum.go:148–151  ·  view source on GitHub ↗
(val interface{})

Source from the content-addressed store, hash-verified

146}
147
148func NewNullJobState(val interface{}) (x NullJobState) {
149 x.Scan(val) // yes, we ignore this error, it will just be an invalid value.
150 return
151}
152
153// Scan implements the Scanner interface.
154func (x *NullJobState) Scan(value interface{}) (err error) {

Callers 3

TestExampleSQLStrOnlyFunction · 0.85
TestSQLStrExtrasFunction · 0.85
TestSQLStrIntExtrasFunction · 0.85

Calls 1

ScanMethod · 0.45

Tested by 3

TestExampleSQLStrOnlyFunction · 0.68
TestSQLStrExtrasFunction · 0.68
TestSQLStrIntExtrasFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…