[ ] I have looked at the documentation here first?
[ ] I have looked at the examples provided that may showcase my question here?
Package version eg. v9, v10:
v9
Issue, Question or Enhancement:
When using the struct method to validate a struct A, one member a is a slice composed of another struct B. How to set the tag of a to call the validate validation of B
Code sample, to showcase or reproduce:
type A struct {
a []B validate:"required"
}
type B struct {
b xxx validate:"required,validateb"
}
How should I modify A.a's tag to call b's validation function validateb
Package version eg. v9, v10:
v9
Issue, Question or Enhancement:
When using the struct method to validate a struct A, one member a is a slice composed of another struct B. How to set the tag of a to call the validate validation of B
Code sample, to showcase or reproduce:
How should I modify A.a's tag to call b's validation function validateb