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

Struct RecvAnnotationKey

annotation/key.go:670–672  ·  view source on GitHub ↗

RecvAnnotationKey allows the Lookup of a method's receiver Annotation in the Annotation map

Source from the content-addressed store, hash-verified

668
669// RecvAnnotationKey allows the Lookup of a method's receiver Annotation in the Annotation map
670type RecvAnnotationKey struct {
671 FuncDecl *types.Func
672}
673
674// Lookup looks this key up in the passed map, returning a Val
675func (rk *RecvAnnotationKey) Lookup(annMap Map) (Val, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected