Commit ad841872 authored by S.W.H's avatar S.W.H

bug fixed

parent b59dae6f
...@@ -67,7 +67,7 @@ func (r Required) IsSatisfied(obj interface{}) bool { ...@@ -67,7 +67,7 @@ func (r Required) IsSatisfied(obj interface{}) bool {
} }
func (r Required) DefaultMessage() string { func (r Required) DefaultMessage() string {
return "Required" return fmt.Sprint(MessageTmpls["Required"])
} }
func (r Required) GetKey() string { 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