MCPcopy Index your code
hub / github.com/lib/pq / FuncArrayValuer

Struct FuncArrayValuer

array_test.go:409–412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407type ByteArrayValuer [1]byte
408type ByteSliceValuer []byte
409type FuncArrayValuer struct {
410 delimiter func() string
411 value func() (driver.Value, error)
412}
413
414func (a ByteArrayValuer) Value() (driver.Value, error) { return a[:], nil }
415func (b ByteSliceValuer) Value() (driver.Value, error) { return []byte(b), nil }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected