MakeTuple constructs a new instance of a TupleFamily type with the given field types (some/all of which may be other TupleFamily types). Warning: the contents slice is used directly; the caller should not modify it after calling this function.
(contents []T)
| 828 | // Warning: the contents slice is used directly; the caller should not modify it |
| 829 | // after calling this function. |
| 830 | func MakeTuple(contents []T) *T { |
| 831 | return &T{InternalType: InternalType{ |
| 832 | Family: TupleFamily, Oid: oid.T_record, TupleContents: contents, Locale: &emptyLocale, |
| 833 | }} |
| 834 | } |
| 835 | |
| 836 | // MakeLabeledTuple constructs a new instance of a TupleFamily type with the |
| 837 | // given field types and labels. |
no outgoing calls
no test coverage detected
searching dependent graphs…