collectValidations recurses through the attribute and collects the validation functions. req if true indicates that the validations are generated for validating request messages.
(att *expr.AttributeExpr, attName string, req bool, sd *ServiceData)
| 836 | // req if true indicates that the validations are generated for validating |
| 837 | // request messages. |
| 838 | func collectValidations(att *expr.AttributeExpr, attName string, req bool, sd *ServiceData) { |
| 839 | collectValidationsR(att, attName, req, sd, make(map[string]struct{})) |
| 840 | } |
| 841 | |
| 842 | // collectValidationsR recurses through the attribute and collects validation |
| 843 | // functions with cycle detection using a seen set of user type IDs. |
no test coverage detected