1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 08:00:57 +00:00

bug fixed

This commit is contained in:
S.W.H 2014-03-14 14:47:52 +08:00
parent b59dae6fb8
commit ad8418720f

View File

@ -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 {