Versions in this module Expand all Collapse all v0 v0.2.1 Oct 15, 2024 Changes in this version + type LineRepository interface + DeleteAll func() error + Insert func(line *models.Line) (*models.Line, error) + InsertArray func([]models.Line) ([]models.Line, error) + LineList01 func() ([]models.Line, error) + SelectByCode func(lineCode int32) (*models.Line, error) + Update func(line *models.Line) (*models.Line, error) + WithTx func(*gorm.DB) lineRepository + func NewLineRepository(iConnection *gorm.DB) LineRepository + type Route01Repository interface + Delete func() error + InsertRoute01Arr func([]models.Route01) ([]models.Route01, error) + func NewRoute01Repository(dbConnection *gorm.DB) Route01Repository + type Route02Repository interface + DeleteRoute02 func() error + DeleteStopByRoute func(int32) error + InsertRoute02 func(models.Route02) error + InsertRoute02Arr func([]models.Route02) error + SelectByCode func(int32, int64, int16) (*models.Route02, error) + UpdateRoute02 func(models.Route02) error + func NewRoute02Repository(dbConnection *gorm.DB) Route02Repository + type RouteRepository interface + DeleteAll func() error + Insert func(models.Route) (*models.Route, error) + InsertArray func([]models.Route) ([]models.Route, error) + List01 func() ([]models.Route, error) + SelectByCode func(int32) (*models.Route, error) + SelectByLineCode func(int32) (*[]models.Route, error) + Update func(models.Route) (*models.Route, error) + WithTx func(*gorm.DB) routeRepository + func NewRouteRepository(dbConnection *gorm.DB) RouteRepository + type Schedule01Repository interface + type ScheduleRepository interface + DeleteScheduleMaster func() error + InsertScheduleMaster func(input models.Schedule) + SelectBySdcCodeLineCode func(iLine int64, iSdc int32) (*models.Schedule, error) + type SequenceRepository interface + SequenceGetNextVal func(seqName string) (*int64, error) + SequenceList01 func() ([]models.Sequence, error) + UpdateSequence func(seq models.Sequence) error + type StopRepository interface + DeleteAll func() error + Insert func(models.Stop) (*models.Stop, error) + InsertArray func([]models.Stop) ([]models.Stop, error) + List01 func(int32) (*[]models.Stop, error) + SelectByCode func(int32) (*models.Stop, error) + SelectClosestStops func(models.Point, float32, float32) ([]models.StopDto, error) + Update func(models.Stop) (*models.Stop, error) + WithTx func(*gorm.DB) stopRepository + func NewStopRepository(connection *gorm.DB) StopRepository + type UVersionRepository interface + Create func(entity *models.UVersions) error + Select func(string) (*models.UVersions, error) + SelectAll func() ([]models.UVersions, error) + Update func(entity *models.UVersions) error + WithTx func(*gorm.DB) uVersionRepository + func NewUversionRepository(db *gorm.DB) UVersionRepository