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

Method Scan

coderd/database/models.go:1388–1395  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

1386
1387// Scan implements the Scanner interface.
1388func (ns *NullChatMessageVisibility) Scan(value interface{}) error {
1389 if value == nil {
1390 ns.ChatMessageVisibility, ns.Valid = "", false
1391 return nil
1392 }
1393 ns.Valid = true
1394 return ns.ChatMessageVisibility.Scan(value)
1395}
1396
1397// Value implements the driver Valuer interface.
1398func (ns NullChatMessageVisibility) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected