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

Method Scan

model/task.go:58–61  ·  view source on GitHub ↗
(val interface{})

Source from the content-addressed store, hash-verified

56}
57
58func (m *Properties) Scan(val interface{}) error {
59 bytesValue, _ := val.([]byte)
60 return json.Unmarshal(bytesValue, m)
61}
62
63func (m Properties) Value() (driver.Value, error) {
64 return json.Marshal(m)

Callers 15

GetChannelStatisticsFunction · 0.45
GetTokenStatisticsFunction · 0.45
GetUserStatisticsFunction · 0.45
SumUsedQuotaFunction · 0.45
SumUsedTokenFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected