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

Method Scan

coderd/database/models.go:1265–1272  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

1263
1264// Scan implements the Scanner interface.
1265func (ns *NullChatClientType) Scan(value interface{}) error {
1266 if value == nil {
1267 ns.ChatClientType, ns.Valid = "", false
1268 return nil
1269 }
1270 ns.Valid = true
1271 return ns.ChatClientType.Scan(value)
1272}
1273
1274// Value implements the driver Valuer interface.
1275func (ns NullChatClientType) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected