tianxiaoliang commented on a change in pull request #124: Support parameter 
validation
URL: https://github.com/apache/servicecomb-kie/pull/124#discussion_r397672093
 
 

 ##########
 File path: pkg/validate/validator_test.go
 ##########
 @@ -0,0 +1,36 @@
+package validate_test
+
+import (
+       "testing"
+
+       "github.com/apache/servicecomb-kie/pkg/validate"
+       "github.com/stretchr/testify/assert"
+)
+
+type student struct {
+       Name    string `validate:"kieTest"`
 
 Review comment:
   用真实的业务模型测

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to