Versions in this module Expand all Collapse all v1 v1.0.0 Aug 1, 2017 Changes in this version + type CargoRepository struct + FindAllFn func() []*cargo.Cargo + FindAllInvoked bool + FindFn func(id cargo.TrackingID) (*cargo.Cargo, error) + FindInvoked bool + StoreFn func(c *cargo.Cargo) error + StoreInvoked bool + func (r *CargoRepository) Find(id cargo.TrackingID) (*cargo.Cargo, error) + func (r *CargoRepository) FindAll() []*cargo.Cargo + func (r *CargoRepository) Store(c *cargo.Cargo) error + type HandlingEventRepository struct + QueryHandlingHistoryFn func(cargo.TrackingID) cargo.HandlingHistory + QueryHandlingHistoryInvoked bool + StoreFn func(cargo.HandlingEvent) + StoreInvoked bool + func (r *HandlingEventRepository) QueryHandlingHistory(id cargo.TrackingID) cargo.HandlingHistory + func (r *HandlingEventRepository) Store(e cargo.HandlingEvent) + type LocationRepository struct + FindAllFn func() []*location.Location + FindAllInvoked bool + FindFn func(location.UNLocode) (*location.Location, error) + FindInvoked bool + func (r *LocationRepository) Find(locode location.UNLocode) (*location.Location, error) + func (r *LocationRepository) FindAll() []*location.Location + type RoutingService struct + FetchRoutesFn func(cargo.RouteSpecification) []cargo.Itinerary + FetchRoutesInvoked bool + func (s *RoutingService) FetchRoutesForSpecification(rs cargo.RouteSpecification) []cargo.Itinerary + type VoyageRepository struct + FindFn func(voyage.Number) (*voyage.Voyage, error) + FindInvoked bool + func (r *VoyageRepository) Find(number voyage.Number) (*voyage.Voyage, error)