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

Method Scan

coderd/database/models.go:2050–2060  ·  view source on GitHub ↗
(src interface{})

Source from the content-addressed store, hash-verified

2048)
2049
2050func (e *InboxNotificationReadStatus) Scan(src interface{}) error {
2051 switch s := src.(type) {
2052 case []byte:
2053 *e = InboxNotificationReadStatus(s)
2054 case string:
2055 *e = InboxNotificationReadStatus(s)
2056 default:
2057 return fmt.Errorf("unsupported scan type for InboxNotificationReadStatus: %T", src)
2058 }
2059 return nil
2060}
2061
2062type NullInboxNotificationReadStatus struct {
2063 InboxNotificationReadStatus InboxNotificationReadStatus `json:"inbox_notification_read_status"`

Callers

nothing calls this directly

Calls 2

ErrorfMethod · 0.45

Tested by

no test coverage detected