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

Method Scan

coderd/database/models.go:1448–1455  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

1446
1447// Scan implements the Scanner interface.
1448func (ns *NullChatMode) Scan(value interface{}) error {
1449 if value == nil {
1450 ns.ChatMode, ns.Valid = "", false
1451 return nil
1452 }
1453 ns.Valid = true
1454 return ns.ChatMode.Scan(value)
1455}
1456
1457// Value implements the driver Valuer interface.
1458func (ns NullChatMode) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected