Interface Interface collects information about a go interface.
| 147 | |
| 148 | // Interface collects information about a go interface. |
| 149 | type Interface struct { |
| 150 | pkg *Package |
| 151 | sym *symbol |
| 152 | obj *types.TypeName |
| 153 | |
| 154 | id string |
| 155 | doc string |
| 156 | meths []*Func |
| 157 | } |
| 158 | |
| 159 | func newInterface(p *Package, obj *types.TypeName) (*Interface, error) { |
| 160 | sym := p.syms.symtype(obj.Type()) |
nothing calls this directly
no outgoing calls
no test coverage detected