完成Scert首轮基础骨架开发与复审
This commit is contained in:
commit
fd8d8608f5
41 files changed
+6987
No files matched your search
@@ -0,0 +1,14 @@
|
||||
package repository
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.pcux.cn/xuans/Scert/backend/internal/domain"
|
||||
)
|
||||
|
||||
type DomainRepository interface {
|
||||
Create(ctx context.Context, item domain.Domain) error
|
||||
GetByID(ctx context.Context, id string) (domain.Domain, error)
|
||||
List(ctx context.Context) ([]domain.Domain, error)
|
||||
Delete(ctx context.Context, id string) error
|
||||
}
|
||||
Reference in new issue
Block a user