(c *Cache)
| 236 | } |
| 237 | |
| 238 | func (n *Nature) Key(c *Cache) Nature { |
| 239 | if n.Kind == reflect.Map { |
| 240 | return c.FromType(n.Type.Key()) |
| 241 | } |
| 242 | return Nature{} |
| 243 | } |
| 244 | |
| 245 | func (n *Nature) Elem(c *Cache) Nature { |
| 246 | switch n.Kind { |
no test coverage detected