repository

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 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 Task

type Task interface {
	Upsert(ctx context.Context, m *model.Task) error
	DeleteByID(ctx context.Context, id string) (int64, error)
	FindByID(ctx context.Context, id string) (*model.Task, error)
	FindAll(ctx context.Context) ([]*model.Task, error)
}

func NewTask

func NewTask(db *sql.DB) Task

Jump to

Keyboard shortcuts

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