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