Documentation ¶ Index ¶ type Repository type SimpleDB func (sd *SimpleDB) GetTaskList(ctx context.Context) (model.TaskList, error) func (sd *SimpleDB) SetTask(ctx context.Context, task *model.Task) error 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 Source Files ¶ View all Source files interface.go simpledb.go Directories ¶ Show internal Expand all Path Synopsis database sqlite Click to show internal directories. Click to hide internal directories.