Documentation ¶
Index ¶
- type Repo
- func (r *Repo) Delete(ctx context.Context, id uint64) error
- func (r *Repo) Get(ctx context.Context, id uint64) (domain.Employee, error)
- func (r *Repo) List(ctx context.Context) ([]domain.Employee, error)
- func (r *Repo) Save(ctx context.Context, e domain.Employee) (uint64, error)
- func (r *Repo) Update(ctx context.Context, u domain.Employee) (domain.Employee, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.