MakeArray constructs a new instance of an ArrayFamily type with the given element type (which may itself be an ArrayFamily type).
(typ *T)
| 814 | // MakeArray constructs a new instance of an ArrayFamily type with the given |
| 815 | // element type (which may itself be an ArrayFamily type). |
| 816 | func MakeArray(typ *T) *T { |
| 817 | return &T{InternalType: InternalType{ |
| 818 | Family: ArrayFamily, |
| 819 | Oid: calcArrayOid(typ), |
| 820 | ArrayContents: typ, |
| 821 | Locale: &emptyLocale, |
| 822 | }} |
| 823 | } |
| 824 | |
| 825 | // MakeTuple constructs a new instance of a TupleFamily type with the given |
| 826 | // field types (some/all of which may be other TupleFamily types). |
no test coverage detected
searching dependent graphs…