FromType calls FromType on a nil *Cache. See the comment on Cache.
(t reflect.Type)
| 201 | |
| 202 | // FromType calls FromType on a nil *Cache. See the comment on Cache. |
| 203 | func FromType(t reflect.Type) Nature { |
| 204 | var c *Cache |
| 205 | return c.FromType(t) |
| 206 | } |
| 207 | |
| 208 | func ArrayFromType(c *Cache, t reflect.Type) Nature { |
| 209 | elem := c.FromType(t) |