This commit is contained in:
2024-07-19 17:04:42 +02:00
commit 5e0d0ec69f
71 changed files with 3316 additions and 0 deletions

View 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)
}