repository

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 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 Repository

type Repository interface {
	SetTask(ctx context.Context, task *model.Task) error
	GetTaskList(ctx context.Context) (*model.TaskList, error)
}

type SimpleDB

type SimpleDB struct {
	database.Database
}

repository.Repository の実装

func (*SimpleDB) GetTaskList

func (sd *SimpleDB) GetTaskList(ctx context.Context) (model.TaskList, error)

func (*SimpleDB) SetTask

func (sd *SimpleDB) SetTask(ctx context.Context, task *model.Task) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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