Files
hetty/pkg/proj/repo.go

14 lines
313 B
Go
Raw Normal View History

2020-10-29 20:54:17 +01:00
package proj
import (
"context"
)
type Repository interface {
FindProjectByID(ctx context.Context, id string) (*Project, error)
UpsertProject(ctx context.Context, project *Project) error
DeleteProject(ctx context.Context, id string) error
Projects(ctx context.Context) ([]*Project, error)
2020-10-29 20:54:17 +01:00
Close() error
}