MCPcopy
hub / github.com/uber-go/nilaway / FieldAnnotationKey

Struct FieldAnnotationKey

annotation/key.go:51–53  ·  view source on GitHub ↗

FieldAnnotationKey allows the Lookup of a field's Annotation in the Annotation map

Source from the content-addressed store, hash-verified

49
50// FieldAnnotationKey allows the Lookup of a field's Annotation in the Annotation map
51type FieldAnnotationKey struct {
52 FieldDecl *types.Var
53}
54
55// Lookup looks this key up in the passed map, returning a Val
56func (k *FieldAnnotationKey) Lookup(annMap Map) (Val, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected