Versions in this module Expand all Collapse all v0 v0.2.0 Jul 27, 2016 v0.1.0 Jun 7, 2016 Changes in this version + var ErrUnknown = errors.New("unknown voyage") + var V0100S = New("0100S", Schedule{ ... }) + var V0200T = New("0200T", Schedule{ ... }) + var V0300A = New("0300A", Schedule{ ... }) + var V0301S = New("0301S", Schedule{ ... }) + var V0400S = New("0400S", Schedule{ ... }) + var V100 = New("V100", Schedule{ ... }) + var V300 = New("V300", Schedule{ ... }) + var V400 = New("V400", Schedule{ ... }) + type CarrierMovement struct + ArrivalLocation location.Location + ArrivalTime time.Time + DepartureLocation location.Location + DepartureTime time.Time + type Number string + type Repository interface + Find func(Number) (*Voyage, error) + type Schedule struct + CarrierMovements []CarrierMovement + type Voyage struct + Number Number + Schedule Schedule + func New(n Number, s Schedule) *Voyage