Documentation
¶
Index ¶
- func FromProtosSlice[T any, S ProtoDestination[T]](t []*T, s []S) error
- func FromProtosSliceFunc[T any, S any](s []S, convert func(S) (*T, error)) ([]*T, error)
- func FromProtosSliceFunc2[T any, S any](s []S, convert func(S) (T, error)) ([]T, error)
- func ToProtosSlice[T any, S ProtoSource[T]](s []S) ([]*T, error)
- func ToProtosSliceFunc[T any, S any](s []S, convert func(S) (*T, error)) ([]*T, error)
- type ProtoDestination
- type ProtoSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromProtosSlice ¶
func FromProtosSlice[T any, S ProtoDestination[T]](t []*T, s []S) error
func FromProtosSliceFunc ¶
func FromProtosSliceFunc2 ¶
func ToProtosSlice ¶
func ToProtosSlice[T any, S ProtoSource[T]](s []S) ([]*T, error)
Types ¶
type ProtoDestination ¶
type ProtoSource ¶
Click to show internal directories.
Click to hide internal directories.