Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SQLStringToPString ¶
func SQLStringToPString(value sql.NullString) *string
Types ¶
type APIApartment ¶
type APIHouse ¶
type APIHouse struct { Address string Apartments map[APIRoomNR]APIApartment }
type Converter ¶
type Converter interface { ConvertHouse(source DBHouse) APIHouse // goverter:map Name FirstName // goverter:ignore Age ConvertPerson(source DBPerson) APIPerson // goverter:map Owner.Name OwnerName ConvertApartment(source DBApartment) APIApartment }
goverter:converter goverter:extend SQLStringToPString
type DBApartment ¶
type DBHouse ¶
type DBHouse struct { Address string Apartments map[int]DBApartment }
Click to show internal directories.
Click to hide internal directories.