people

package
v0.0.0-...-e9d4ddd Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	GetPeoples(filter bson.M) ([]*models.People, error)
	GetPeople(ID string) (*models.People, error)
	CreatePeople(people models.People) (string, error)
}

Repository represent people

type Usecase

type Usecase interface {
	People(ID string) (*models.People, error)
	Peoples(filter bson.M) ([]*models.People, error)
	CreatePeople(people models.People) (string, error)
}

Usecase represent people

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

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