service

package
v0.0.0-...-dcb7f34 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PersonService

type PersonService interface {
	GetPerson(ctx context.Context, id string) (model.Person, error)
	GetPersons(ctx context.Context) ([]model.Person, error)
}

func NewPersonService

func NewPersonService(repo repository.PersonRepository) PersonService

Jump to

Keyboard shortcuts

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