mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 06:40:54 +00:00
commit
7bacb25725
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user