MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / Scan

Method Scan

model/channel.go:65–68  ·  view source on GitHub ↗

Scan implements sql.Scanner interface

(value interface{})

Source from the content-addressed store, hash-verified

63
64// Scan implements sql.Scanner interface
65func (c *ChannelInfo) Scan(value interface{}) error {
66 bytesValue, _ := value.([]byte)
67 return common.Unmarshal(bytesValue, c)
68}
69
70func (channel *Channel) getKeys() []string {
71 if channel.Key == "" {

Callers

nothing calls this directly

Calls 1

UnmarshalFunction · 0.92

Tested by

no test coverage detected