wip
This commit is contained in:
18
mangezmieux-backend/internal/godog/model.go
Normal file
18
mangezmieux-backend/internal/godog/model.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package godog
|
||||
|
||||
import "context"
|
||||
|
||||
type TestCenter interface {
|
||||
GetFunctionalityContext() any
|
||||
}
|
||||
type genericTestCenter struct {
|
||||
testCenter TestCenter
|
||||
}
|
||||
|
||||
type ResourceHandler interface {
|
||||
Create(ctx context.Context, val string) (context.Context, error)
|
||||
Read(ctx context.Context, val string) (context.Context, error)
|
||||
Update(ctx context.Context, val string) (context.Context, error)
|
||||
Patch(ctx context.Context, val string) (context.Context, error)
|
||||
Delete(ctx context.Context, val string) (context.Context, error)
|
||||
}
|
||||
Reference in New Issue
Block a user