repository

package
v0.0.0-...-b143389 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Animal

type Animal interface {
	All(ctx context.Context) ([]*entity.Animal, error)
}

func NewAnimal

func NewAnimal(config config.Config) Animal

type Breed

type Breed interface {
	FindByAnimalID(ctx context.Context, stateID int) ([]*entity.Breed, error)
}

func NewBreed

func NewBreed(config config.Config) Breed

type City

type City interface {
	FindByStateID(ctx context.Context, stateID int) ([]*entity.City, error)
}

func NewCity

func NewCity(config config.Config) City

type State

type State interface {
	All(ctx context.Context) ([]*entity.State, error)
}

func NewState

func NewState(config config.Config) State

type User

type User interface {
	Create(ctx context.Context, user entity.User) (*entity.User, error)
}

func NewUser

func NewUser(config config.Config) User

Jump to

Keyboard shortcuts

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