MCPcopy
hub / github.com/gocraft/dbr / NewNullString

Function NewNullString

types.go:157–160  ·  view source on GitHub ↗

NewNullString creates a NullString with Scan().

(v interface{})

Source from the content-addressed store, hash-verified

155
156// NewNullString creates a NullString with Scan().
157func NewNullString(v interface{}) (n NullString) {
158 n.Scan(v)
159 return
160}
161
162// NewNullTime creates a NullTime with Scan().
163func NewNullTime(v interface{}) (n NullTime) {

Callers 2

types_test.goFile · 0.85
ExampleInsertStmt_RecordFunction · 0.85

Calls 1

ScanMethod · 0.65

Tested by 1

ExampleInsertStmt_RecordFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…