Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert[inT, outT Convertable](in *inT, convertFn func(*inT, *outT, conversion.Scope) error) (*outT, error)
func ConvertSlice ¶
func ConvertSlice[inT, outT Convertable](inSlice []inT, convertFn func(*inT, *outT, conversion.Scope) error) ([]outT, error)
Types ¶
type ConvertFn ¶
type ConvertFn func(*Convertable, *Convertable, conversion.Scope) error
type Convertable ¶
type Convertable interface{}
Click to show internal directories.
Click to hide internal directories.