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

Struct TypeNameAnnotationKey

annotation/key.go:389–391  ·  view source on GitHub ↗

TypeNameAnnotationKey allows the Lookup of a named type annotations in the Annotation Map

Source from the content-addressed store, hash-verified

387
388// TypeNameAnnotationKey allows the Lookup of a named type annotations in the Annotation Map
389type TypeNameAnnotationKey struct {
390 TypeDecl *types.TypeName
391}
392
393// Lookup looks this key up in the passed map, returning a Val
394func (tk *TypeNameAnnotationKey) Lookup(annMap Map) (Val, bool) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected