tasks

package
v0.0.0-...-842b49f Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: MIT Imports: 4 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(db *gorm.DB) Repo

func (Repo) Create

func (r Repo) Create(ctx context.Context, task gsp.Task) error

func (Repo) Get

func (r Repo) Get(ctx context.Context, id string) (*gsp.Task, error)

func (Repo) List

func (r Repo) List(ctx context.Context) ([]gsp.Task, error)

func (Repo) Update

func (r Repo) Update(ctx context.Context, task gsp.Task) error

Jump to

Keyboard shortcuts

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