(typ Type)
| 177 | } |
| 178 | |
| 179 | func TypeUnder(typ Type) Type { |
| 180 | if named, ok := typ.(*TypeNamed); ok { |
| 181 | return TypeUnder(named.Type) |
| 182 | } |
| 183 | return typ |
| 184 | } |
| 185 | |
| 186 | // Field defines the name and type of a field for [TypeRecord]. |
| 187 | type Field struct { |
no outgoing calls
no test coverage detected