Commit 7bacb257 authored by slene's avatar slene

Merge pull request #538 from admpub/patch-2

validators bug fixed
parents b59dae6f ad841872
......@@ -67,7 +67,7 @@ func (r Required) IsSatisfied(obj interface{}) bool {
}
func (r Required) DefaultMessage() string {
return "Required"
return fmt.Sprint(MessageTmpls["Required"])
}
func (r Required) GetKey() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment