mapper

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TIME_TYPE = "time"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type LineMapper

type LineMapper interface {
	GeneralLine(map[string]interface{}) models.LineOasa
	OasaToLineDto(models.LineOasa) models.LineDto
	OasaToLine(models.LineOasa) models.Line
	LineDtoToLine(models.LineDto) models.Line
}

func NewLineMapper

func NewLineMapper() LineMapper

type Route01Mapper

type Route01Mapper interface {
	GeneralRoute01(map[string]interface{}) models.Route01Oasa
	OasaToRoute01Dto(models.Route01Oasa) models.Route01
}

func NewRouteDetailMapper

func NewRouteDetailMapper() Route01Mapper

type RouteMapper

type RouteMapper interface {
	GeneralRoute(map[string]interface{}) models.RouteOasa
	OasaToRouteDto(source models.RouteOasa) models.RouteDto
	DtoToRoute(source models.RouteDto) models.Route
}

func NewRouteMapper

func NewRouteMapper() RouteMapper

type Schedule01Mapper

type Schedule01Mapper interface {
	DtoToSchedule01(source models.Schedule01Dto) models.Schedule01
	GeneralSchedule01(map[string]interface{}) models.Schedule01
}

func NewSchedule01Mapper

func NewSchedule01Mapper() Schedule01Mapper

type ScheduleMapper

type ScheduleMapper interface {
	OasaToScheduleDto(source models.ScheduleOasa) models.Schedule
	DtoToSchedule(source models.Schedule) models.Schedule
	ScheduleGeneralMapper(source map[string]interface{}) models.ScheduleOasa
}

type StopMapper

type StopMapper interface {
	StopOasaToStop(source models.StopOasa) models.Stop
	StopMapper(source any) models.StopOasa
}

type UversionMapper

type UversionMapper interface {
	GeneralUVersions(any) models.UVersionsOasa
	OasaToUVersions(models.UVersionsOasa) models.UVersions
}

func NewUVersionMapper

func NewUVersionMapper() UversionMapper

Jump to

Keyboard shortcuts

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