Versions in this module Expand all Collapse all v1 v1.2.0 Feb 24, 2022 Changes in this version type DateTime + Int32 int32 v1.1.0 Feb 24, 2022 Changes in this version + func Migrate(db *gorm.DB) error + type Agency struct + ID string + Name string + URL string + type Calendar struct + EndDate string + Friday int + ID uint + Monday int + Saturday int + ServiceID string + StartDate string + Sunday int + Thursday int + Tuesday int + Wednesday int + type CalendarDate struct + Date string + ExceptionType int + ID uint + ServiceID string + type DateTime struct + func (dt *DateTime) MarshalCSV() (string, error) + func (dt *DateTime) Scan(value interface{}) error + func (dt *DateTime) UnmarshalCSV(csv string) error + func (dt DateTime) Value() (driver.Value, error) + type ItemType uint32 + const Agencies + const CalendarDates + const Calendars + const Routes + const Shapes + const StopTimes + const Stops + const Trips + func (it ItemType) String() string + type Route struct + Agency Agency + AgencyID string + ID string + LongName string + ShortName string + Type int + type Shape struct + ID uint + PtLat float64 + PtLon float64 + PtSequence int + ShapeID string + type Stop struct + ID string + Latitude float64 + Longitude float64 + Name string + type StopTime struct + Arrival DateTime + Departure DateTime + ID uint + Stop Stop + StopID string + StopSeq int + Trip Trip + TripID string + type Trip struct + DirectionID string + ID string + Name string + Route Route + RouteID string + ServiceID string + ShapeID string