store

package
v0.0.0-...-53273dc Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 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 EmployeeRepository

type EmployeeRepository interface {
	Create(context.Context, *models.Employee) error
	Delete(context.Context, int) error
	Update(context.Context, *models.Employee) error
	GetAll(context.Context) ([]*models.Employee, error)
	GetByID(context.Context, int) (*models.Employee, error)
}

EmployeeRepository ...

type Store

type Store interface {
	Employee() EmployeeRepository
}

Store ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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