Open luthfikw opened 4 years ago
when use ValidateStruct() function, output error inside array is not valid
ValidateStruct()
output message:
panic: Items.1.items: non zero value required
expected:
Items.1.ImpactedTo: non zero value required
here code: https://play.golang.org/p/G7-RAZ7tt_K
Hello guys! I forked this package cause owner disappeared. Hope, he will be back, but it would be easier to merge these changes back if he is back Link to my repo: create issue there and we'll discuss it.
when use
ValidateStruct()
function, output error inside array is not validoutput message:
expected:
here code: https://play.golang.org/p/G7-RAZ7tt_K