mappers

package
v0.0.0-...-f26ca9b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mappers is the package that maps objects back and fort between dao and domain

Package mappers is the package that maps objects back and fort between dao and domain

Package mappers is the package that maps objects back and fort between dao and domain

Package mappers is the package that maps objects back and fort between dao and domain

Package mappers is the package that maps objects back and fort between dao and domain

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapCityDAO2City

func MapCityDAO2City(cityDAO dao.CityDAO) domain.City

MapCityDAO2City maps a CityDAO to a City

func MapConversation2ConversationDAO

func MapConversation2ConversationDAO(conversation *domain.Conversation) *dao.ConversationDAO

MapConversation2ConversationDAO maps a Conversation to a ConversationDAO

func MapConversationDAO2Conversation

func MapConversationDAO2Conversation(conversationDAO *dao.ConversationDAO) *domain.Conversation

MapConversationDAO2Conversation maps a ConversationDAO to a Conversation

func MapConversationDAOs2Conversations

func MapConversationDAOs2Conversations(conversationsDAO []dao.ConversationDAO) []domain.Conversation

MapConversationDAOs2Conversations maps a slice of ConversationDAO to a slice of Conversation

func MapCountryDAO2Country

func MapCountryDAO2Country(countryDAO dao.CountryDAO) domain.Country

MapCountryDAO2Country maps a CountryDAO to a Country

func MapCountryDAOs2Countries

func MapCountryDAOs2Countries(countryDAOs []dao.CountryDAO) []domain.Country

MapCountryDAOs2Countries maps a slice of CountryDAO to a slice of Country

func MapMessage2MessageDAO

func MapMessage2MessageDAO(message *domain.Message) *dao.MessageDAO

MapMessage2MessageDAO maps a Message to a MessageDAO

func MapMessageDAO2Message

func MapMessageDAO2Message(messageDAO *dao.MessageDAO) *domain.Message

MapMessageDAO2Message maps a MessageDAO to a Message

func MapMessageDAOs2Messages

func MapMessageDAOs2Messages(messagesDAO []dao.MessageDAO) []domain.Message

MapMessageDAOs2Messages maps a slice of MessageDAO to a slice of Message

func MapMessages2MessageDAOs

func MapMessages2MessageDAOs(messages []domain.Message) []dao.MessageDAO

MapMessages2MessageDAOs maps a slice of Message to a slice of MessageDAO

func MapRequesDAOs2Requests

func MapRequesDAOs2Requests(requestDAOs []dao.RequestDAO) *[]domain.Request

MapRequesDAOs2Requests maps a slice of dao.RequestDAO to a slice of domain.Request

func MapRequest2RequestDAO

func MapRequest2RequestDAO(request *domain.Request) *dao.RequestDAO

MapRequest2RequestDAO maps a domain.Request to a dao.RequestDAO

func MapRequestDAO2Request

func MapRequestDAO2Request(requestDAO *dao.RequestDAO) *domain.Request

MapRequestDAO2Request maps a dao.RequestDAO to a domain.Request

func MapTrip2TripDAO

func MapTrip2TripDAO(trip domain.Trip) (dao.TripDAO, error)

MapTrip2TripDAO maps a Trip to a TripDAO

func MapTripDAO2Trip

func MapTripDAO2Trip(tripDAO *dao.TripDAO) *domain.Trip

MapTripDAO2Trip maps a TripDAO to a Trip

func MapTripDAOs2Trips

func MapTripDAOs2Trips(tripsDAO []*dao.TripDAO) []*domain.Trip

MapTripDAOs2Trips maps a slice of TripDAO to a slice of Trip

func MapTripDetailDAO2TripDetail

func MapTripDetailDAO2TripDetail(tripDetailDAO *dao.TripDetailDAO) *domain.TripDetail

MapTripDetailDAO2TripDetail maps a TripDetailDAO to a TripDetail

func MapUser2NewUserDAO

func MapUser2NewUserDAO(u domain.User) dao.UserDAO

MapUser2NewUserDAO maps domain User to dao User

func MapUserDAO2User

func MapUserDAO2User(u dao.UserDAO) domain.User

MapUserDAO2User maps dao User to domain User

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL