GlobalVarAnnotationKey allows the Lookup of a global variable's annotations in the Annotation Map
| 422 | |
| 423 | // GlobalVarAnnotationKey allows the Lookup of a global variable's annotations in the Annotation Map |
| 424 | type GlobalVarAnnotationKey struct { |
| 425 | VarDecl *types.Var |
| 426 | } |
| 427 | |
| 428 | // Lookup looks this key up in the passed map, returning a Val |
| 429 | func (gk *GlobalVarAnnotationKey) Lookup(annMap Map) (Val, bool) { |
nothing calls this directly
no outgoing calls
no test coverage detected