craete initialize() to get each schema from .json

This commit is contained in:
AshwiniK-protean
2025-02-18 13:35:55 +05:30
parent 50f93d8239
commit 05259b3824
10 changed files with 480 additions and 373 deletions

View File

@@ -1,11 +0,0 @@
package main
import "context"
type Validator interface {
Validate(ctx context.Context, b []byte) error //context parameter
}
type ValidatorProvider interface {
New(p string) (Validator, error)
}