Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProvideMapper ¶
func ProvideMapper() interface{}
Types ¶
type BaseMapper ¶
type BaseMapper[T, E any] interface { ToDTO(T) E ToManyDTO([]T) []E FromDTO(E) T FromManyDTO([]E) []T }
func NewWeatherHistoryMapper ¶
func NewWeatherHistoryMapper() BaseMapper[entity.WeatherHistory, dto.WeatherHistoryDTO]
type MapperOut ¶
type MapperOut struct { dig.Out WeatherHistoryMapper BaseMapper[entity.WeatherHistory, dto.WeatherHistoryDTO] }
Click to show internal directories.
Click to hide internal directories.