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

Method Scan

coderd/database/models.go:2398–2405  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

2396
2397// Scan implements the Scanner interface.
2398func (ns *NullNotificationMethod) Scan(value interface{}) error {
2399 if value == nil {
2400 ns.NotificationMethod, ns.Valid = "", false
2401 return nil
2402 }
2403 ns.Valid = true
2404 return ns.NotificationMethod.Scan(value)
2405}
2406
2407// Value implements the driver Valuer interface.
2408func (ns NullNotificationMethod) Value() (driver.Value, error) {

Callers 1

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected