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

 ##########
 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:
   instance_test.go用真实业务模型做了测试

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to