Documentation ¶
Overview ¶
Package tuple Code generated by go generate; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetToStruct ¶
Types ¶
type Of10 ¶
type Of10[A any, B any, C any, D any, E any, F any, G any, H any, I any, J any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G Eighth H Ninth I Tenth J }
Of10 represents a tuple of 10 elements
func New10 ¶
func New10[A any, B any, C any, D any, E any, F any, G any, H any, I any, J any](first A, second B, third C, fourth D, fifth E, sixth F, seventh G, eighth H, ninth I, tenth J) Of10[A, B, C, D, E, F, G, H, I, J]
New10 creates a new tuple of 10 elements
func (*Of10[A, B, C, D, E, F, G, H, I, J]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of10[A, B, C, D, E, F, G, H, I, J]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of2 ¶
Of2 represents a tuple of 2 elements
func (*Of2[A, B]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of2[A, B]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of3 ¶
Of3 represents a tuple of 3 elements
func (*Of3[A, B, C]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of3[A, B, C]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of4 ¶
Of4 represents a tuple of 4 elements
func (*Of4[A, B, C, D]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of4[A, B, C, D]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of5 ¶
Of5 represents a tuple of 5 elements
func New5 ¶
func New5[A any, B any, C any, D any, E any](first A, second B, third C, fourth D, fifth E) Of5[A, B, C, D, E]
New5 creates a new tuple of 5 elements
func (*Of5[A, B, C, D, E]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of5[A, B, C, D, E]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of6 ¶
type Of6[A any, B any, C any, D any, E any, F any] struct { First A Second B Third C Fourth D Fifth E Sixth F }
Of6 represents a tuple of 6 elements
func New6 ¶
func New6[A any, B any, C any, D any, E any, F any](first A, second B, third C, fourth D, fifth E, sixth F) Of6[A, B, C, D, E, F]
New6 creates a new tuple of 6 elements
func (*Of6[A, B, C, D, E, F]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of6[A, B, C, D, E, F]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of7 ¶
type Of7[A any, B any, C any, D any, E any, F any, G any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G }
Of7 represents a tuple of 7 elements
func New7 ¶
func New7[A any, B any, C any, D any, E any, F any, G any](first A, second B, third C, fourth D, fifth E, sixth F, seventh G) Of7[A, B, C, D, E, F, G]
New7 creates a new tuple of 7 elements
func (*Of7[A, B, C, D, E, F, G]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of7[A, B, C, D, E, F, G]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of8 ¶
type Of8[A any, B any, C any, D any, E any, F any, G any, H any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G Eighth H }
Of8 represents a tuple of 8 elements
func New8 ¶
func New8[A any, B any, C any, D any, E any, F any, G any, H any](first A, second B, third C, fourth D, fifth E, sixth F, seventh G, eighth H) Of8[A, B, C, D, E, F, G, H]
New8 creates a new tuple of 8 elements
func (*Of8[A, B, C, D, E, F, G, H]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of8[A, B, C, D, E, F, G, H]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface
type Of9 ¶
type Of9[A any, B any, C any, D any, E any, F any, G any, H any, I any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G Eighth H Ninth I }
Of9 represents a tuple of 9 elements
func New9 ¶
func New9[A any, B any, C any, D any, E any, F any, G any, H any, I any](first A, second B, third C, fourth D, fifth E, sixth F, seventh G, eighth H, ninth I) Of9[A, B, C, D, E, F, G, H, I]
New9 creates a new tuple of 9 elements
func (*Of9[A, B, C, D, E, F, G, H, I]) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface
func (*Of9[A, B, C, D, E, F, G, H, I]) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface