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

Method Meta

record.go:51–51  ·  view source on GitHub ↗

Meta returns the value of the attached metadata for the given key, if any. Records implementers may implement that method by declaring: type MyRecord struct { meta baker.Metadata } func (r *MyRecord) Meta(key string) (interface{}, bool) { return l.meta.get(key) }

(key string)

Source from the content-addressed store, hash-verified

49 // return l.meta.get(key)
50 // }
51 Meta(key string) (v interface{}, ok bool)
52
53 // Cache holds a cache which is local to the record. It may be used to
54 // speed up parsing of specific fields by caching the result. When

Callers 5

RecordConformanceTestFunction · 0.65
ProcessMethod · 0.65
ProcessMethod · 0.65
ProcessMethod · 0.65

Implementers 1

LogLinelogline.go

Calls

no outgoing calls

Tested by 1