package
Version:
v0.0.3
Opens a new window with list of versions in this module.
Published: Dec 1, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func MapDbModels[T any, V any](
entities []T,
mapFunc func(T) (*V, error),
) ([]*V, error)
func MapViewModels[T any, V any](
entities []T,
mapFunc func(T) *V,
) []*V
MapViewModels maps entities to view models
Source Files
¶
Click to show internal directories.
Click to hide internal directories.