Versions in this module Expand all Collapse all v1 v1.0.0 Aug 1, 2017 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.UNLocode + ArrivalTime time.Time + DepartureLocation location.UNLocode + 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