timerecordrepo

package
v0.0.0-...-1920916 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

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
}

func New

func New() *Repo

func (*Repo) GetLastByEmpoyeeID

func (r *Repo) GetLastByEmpoyeeID(ctx context.Context, id uint64) (domain.TimeRecord, error)

GetLastByEmpoyeeID implements timerecordapp.TimeRecordRepo

func (*Repo) List

func (r *Repo) List(ctx context.Context) ([]domain.TimeRecord, error)

List implements timerecordapp.TimeRecordRepo

func (*Repo) Save

func (r *Repo) Save(ctx context.Context, t domain.TimeRecord) (uint64, error)

Save implements timerecordapp.TimeRecordRepo

Jump to

Keyboard shortcuts

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