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

Method Scan

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

Source from the content-addressed store, hash-verified

1860)
1861
1862func (e *CryptoKeyFeature) Scan(src interface{}) error {
1863 switch s := src.(type) {
1864 case []byte:
1865 *e = CryptoKeyFeature(s)
1866 case string:
1867 *e = CryptoKeyFeature(s)
1868 default:
1869 return fmt.Errorf("unsupported scan type for CryptoKeyFeature: %T", src)
1870 }
1871 return nil
1872}
1873
1874type NullCryptoKeyFeature struct {
1875 CryptoKeyFeature CryptoKeyFeature `json:"crypto_key_feature"`

Callers

nothing calls this directly

Calls 2

CryptoKeyFeatureTypeAlias · 0.70
ErrorfMethod · 0.45

Tested by

no test coverage detected