MCPcopy Create free account
hub / github.com/AdRoll/baker / get

Method get

api.go:14–21  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

12type Metadata map[string]interface{}
13
14func (m *Metadata) get(key string) (val interface{}, ok bool) {
15 if *m == nil {
16 return nil, false
17 }
18
19 val, ok = (*m)[key]
20 return
21}
22
23// InputStats contains statistics about the input component,
24// ready for export to the metric client and to print debug info.

Callers 1

MetaMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected