Documentation
¶
Index ¶
- type Repo
- func (r *Repo) Close()
- func (r *Repo) Create(ctx context.Context, task *modelrepo.TaskCreateDB) (int64, error)
- func (r *Repo) Delete(ctx context.Context, id int64) error
- func (r *Repo) Get(ctx context.Context, id int64) (*modelrepo.TaskDB, error)
- func (r *Repo) List(ctx context.Context) ([]*modelrepo.TaskDB, error)
- func (r *Repo) Ping(ctx context.Context) error
- func (r *Repo) Update(ctx context.Context, id int64, task *modelrepo.TaskUpdateDB) (*modelrepo.TaskDB, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.