package repository
import "github.com/go-kit/kit/examples/shipping/repository"
Package repository provides implementations of all the domain repositories.
Index ¶
- func NewCargo() cargo.Repository
- func NewHandlingEvent() cargo.HandlingEventRepository
- func NewLocation() location.Repository
- func NewVoyage() voyage.Repository
Functions ¶
func NewCargo ¶
func NewCargo() cargo.Repository
NewCargo returns a new instance of a in-memory cargo repository.
func NewHandlingEvent ¶
func NewHandlingEvent() cargo.HandlingEventRepository
NewHandlingEvent returns a new instance of a in-memory handling event repository.
func NewLocation ¶
func NewLocation() location.Repository
NewLocation returns a new instance of a in-memory location repository.
func NewVoyage ¶
func NewVoyage() voyage.Repository
NewVoyage returns a new instance of a in-memory voyage repository.
Source Files ¶
- Version
- v0.2.0
- Published
- Jul 27, 2016
- Platform
- darwin/amd64
- Imports
- 4 packages
- Last checked
- 9 seconds ago –
Tools for package owners.