Covert recursively
This commit is contained in:
@@ -9,7 +9,8 @@ import (
|
||||
)
|
||||
|
||||
func Validate(schema string, dataAny any) error {
|
||||
data := StructToMapRecursive(dataAny)
|
||||
data1 := StructToMapRecursive(dataAny)
|
||||
data := BsonAnyToMap(data1)
|
||||
|
||||
content := []byte(schema)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user