getting

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	GetSushis(ctx context.Context) ([]sushi.Sushi, error)
	GetSushiByID(ctx context.Context, ID string) *sushi.Sushi
}

Service provides getting operations

func NewService

func NewService(repository sushi.Repository, logger log.Logger) Service

NewService creates a getting service with the necessary dependencies

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL