serviceContext returns an attribute context for service types.
(pkg string, scope *codegen.NameScope)
| 2936 | |
| 2937 | // serviceContext returns an attribute context for service types. |
| 2938 | func serviceContext(pkg string, scope *codegen.NameScope) *codegen.AttributeContext { |
| 2939 | return codegen.NewAttributeContext(false, false, true, pkg, scope) |
| 2940 | } |
| 2941 | |
| 2942 | // viewContext returns an attribute context for projected types. |
| 2943 | func viewContext(pkg string, scope *codegen.NameScope) *codegen.AttributeContext { |
no test coverage detected