repository

package
v0.0.0-...-d6a8ac4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaskRepository

type TaskRepository struct {
	// contains filtered or unexported fields
}

func NewTaskRepository

func NewTaskRepository(persistor *keelpostgres.Persistor) *TaskRepository

NewTaskRepository constructor

func (*TaskRepository) Drop

func (r *TaskRepository) Drop(ctx context.Context) error

func (*TaskRepository) Insert

func (r *TaskRepository) Insert(ctx context.Context, description string) error

func (*TaskRepository) List

func (r *TaskRepository) List(ctx context.Context) (map[int32]string, error)

Jump to

Keyboard shortcuts

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