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

Method Scan

coderd/database/models.go:959–966  ·  view source on GitHub ↗

Scan implements the Scanner interface.

(value interface{})

Source from the content-addressed store, hash-verified

957
958// Scan implements the Scanner interface.
959func (ns *NullAppSharingLevel) Scan(value interface{}) error {
960 if value == nil {
961 ns.AppSharingLevel, ns.Valid = "", false
962 return nil
963 }
964 ns.Valid = true
965 return ns.AppSharingLevel.Scan(value)
966}
967
968// Value implements the driver Valuer interface.
969func (ns NullAppSharingLevel) Value() (driver.Value, error) {

Callers

nothing calls this directly

Calls 1

ScanMethod · 0.45

Tested by

no test coverage detected