Documentation
¶
Overview ¶
Package repository provides the task repository used by the postgres persistence example.
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
}
TaskRepository stores task descriptions in the tasks table.
func NewTaskRepository ¶
func NewTaskRepository(persistor *keelpostgres.Persistor) *TaskRepository
NewTaskRepository returns a TaskRepository backed by persistor.
func (*TaskRepository) Drop ¶
func (r *TaskRepository) Drop(ctx context.Context) error
Drop drops the order_numbers table if it exists.