small fixes

This commit is contained in:
tanyamadaan
2025-03-22 00:05:08 +05:30
parent 423adb4e00
commit fe1ffa356c
16 changed files with 35 additions and 1016 deletions

View File

@@ -49,7 +49,7 @@ func New(ctx context.Context, config *Config) (*SchemaValidator, func() error, e
if err := v.initialise(); err != nil {
return nil, nil, fmt.Errorf("failed to initialise schemaValidator: %v", err)
}
return v, v.Close, nil
return v, nil, nil
}
// Validate validates the given data against the schema.
@@ -195,8 +195,3 @@ func (v *SchemaValidator) initialise() error {
return nil
}
// Close releases resources (mock implementation returning nil).
func (v *SchemaValidator) Close() error {
return nil
}