Documentation
¶
Index ¶
- func InsertDirection(db *gorm.DB, name string, aliases []string) (models.Direction, error)
- func InsertEventSource(db *gorm.DB, name, description string) (models.ScheduleEventSource, error)
- func InsertLine(db *gorm.DB, name string, aliases []string, directions []models.Direction) (models.Line, error)
- func InsertStation(db *gorm.DB, name, location, description string, aliases []string, ...) (models.Station, error)
- func Seed(db *gorm.DB, log *log.Logger) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InsertDirection ¶
func InsertEventSource ¶
func InsertLine ¶
func InsertStation ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.