Add projects
This commit is contained in:
8
pkg/application/projects/repository.go
Normal file
8
pkg/application/projects/repository.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package projects
|
||||
|
||||
import "context"
|
||||
|
||||
type Repository interface {
|
||||
Create(ctx context.Context, project *CreateProject) (int, error)
|
||||
GetForMemberId(ctx context.Context, memberId int) ([]*Project, error)
|
||||
}
|
Reference in New Issue
Block a user