MCPcopy Index your code
hub / github.com/coder/coder / Scan

Method Scan

coderd/database/models.go:1033–1040  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

1031
1032// Scan implements the Scanner interface.
1033func (ns *NullAuditAction) Scan(value interface{}) error {
1034 if value == nil {
1035 ns.AuditAction, ns.Valid = "", false
1036 return nil
1037 }
1038 ns.Valid = true
1039 return ns.AuditAction.Scan(value)
1040}
1041
1042// Value implements the driver Valuer interface.
1043func (ns NullAuditAction) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected