Documentation ¶
Index ¶
- Constants
- Variables
- func AtNoonMinus12h(t time.Time, loc *time.Location) time.Time
- type Agency
- type Calendar
- type CalendarDate
- type Point
- type Route
- type Shape
- type Static
- func (s *Static) ActiveServicesForDate(d time.Time) map[string]bool
- func (s *Static) CalendarForServiceID(serviceID string) (Calendar, error)
- func (s *Static) FillMaps()
- func (s *Static) TripIDsForRouteID(routeID string) map[string]bool
- func (s *Static) TripIDsForServiceIDs(serviceIDs map[string]bool) map[string]bool
- type Stop
- type StopTime
- type Trip
Constants ¶
View Source
const NoShapeDistTraveled = float64(-42.42)
Variables ¶
View Source
var NoPoint = Point{-4242, -4242}
Functions ¶
Types ¶
type CalendarDate ¶
type Static ¶
type Static struct { Agencies []Agency Stops []Stop Routes []Route Trips []Trip StopTimes []StopTime Calendar []Calendar CalendarDates []CalendarDate Shapes []Shape RouteIDsToRoutes map[string]*Route StopIDsToStops map[string]*Stop StopIDsToStopTimes map[string][]StopTime TripIDsToTrips map[string]*Trip }
func ReadZipFile ¶
func (*Static) ActiveServicesForDate ¶
func (*Static) CalendarForServiceID ¶
func (*Static) TripIDsForRouteID ¶
Click to show internal directories.
Click to hide internal directories.