Slice Slice collects information about a go slice.
| 199 | |
| 200 | // Slice collects information about a go slice. |
| 201 | type Slice struct { |
| 202 | pkg *Package |
| 203 | sym *symbol |
| 204 | obj *types.TypeName |
| 205 | |
| 206 | id string |
| 207 | doc string |
| 208 | meths []*Func |
| 209 | prots Protocol |
| 210 | } |
| 211 | |
| 212 | func newSlice(p *Package, obj *types.TypeName) (*Slice, error) { |
| 213 | sym := p.syms.symtype(obj.Type()) |
nothing calls this directly
no outgoing calls
no test coverage detected