mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
14 lines
313 B
Go
14 lines
313 B
Go
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)
|
|
Close() error
|
|
}
|