typeContext returns a contextual attribute for service types. Service types are Go types and uses non-pointers to hold attributes having default values.
(scope *codegen.NameScope)
| 1006 | // typeContext returns a contextual attribute for service types. Service types |
| 1007 | // are Go types and uses non-pointers to hold attributes having default values. |
| 1008 | func typeContext(scope *codegen.NameScope) *codegen.AttributeContext { |
| 1009 | return codegen.NewAttributeContext(false, false, true, "", scope) |
| 1010 | } |
| 1011 | |
| 1012 | // projectedTypeContext returns a contextual attribute for a projected type. |
| 1013 | // Projected types are Go types that uses pointers for all attributes (even the |
no test coverage detected