Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Base ¶
type DataAndExtension ¶
type DataAndExtension[T1 interface{}, T2 interface{}] struct { Data T1 `json:"data,omitempty"` Extension T2 `json:"ext,omitempty"` }
type Generic ¶
type Generic[T1 interface{}, T2 interface{}] struct { Base DataAndExtension[T1, T2] }
func NewGeneric ¶
Click to show internal directories.
Click to hide internal directories.