Map Map collects information about a go map.
| 252 | |
| 253 | // Map collects information about a go map. |
| 254 | type Map struct { |
| 255 | pkg *Package |
| 256 | sym *symbol |
| 257 | obj *types.TypeName |
| 258 | |
| 259 | id string |
| 260 | doc string |
| 261 | meths []*Func |
| 262 | prots Protocol |
| 263 | } |
| 264 | |
| 265 | func newMap(p *Package, obj *types.TypeName) (*Map, error) { |
| 266 | sym := p.syms.symtype(obj.Type()) |
nothing calls this directly
no outgoing calls
no test coverage detected