package repository

import "github.com/go-kit/kit/examples/shipping/repository"

Package repository provides implementations of all the domain repositories.

Index

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

repositories.go

Version
v0.1.0
Published
Jun 7, 2016
Platform
js/wasm
Imports
4 packages
Last checked
1 hour ago

Tools for package owners.