1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-24 18:00:55 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
qiantao
70733d9810 fix label == `` #4001 2020-06-01 15:06:33 +08:00
Liu Zhang
034599ca1d 验证调整,增加label, xx不能为空 2020-01-17 16:47:19 +08:00
Xingang Zhang
0e0718d110
fix typo
hasReuired --> hasRequired
2018-07-17 23:32:11 +08:00
Andrea Spacca
5ed112e946 added CanSkipAlso 2018-02-02 10:22:43 +01:00
Andrea Spacca
faa3341603 Fix after test failure 2018-01-28 18:19:27 +01:00
Andrea Spacca
ee9cf05796 Handle pointer validation 2018-01-28 17:40:05 +01:00
BorisBorshevsky
df37739c7d fix golint comments 2017-11-25 19:18:37 +02:00
Radar8
6641a436a2 validation: fix ErrorMap, added func AddError(key, message) 2017-09-06 16:49:21 +08:00
miraclesu
e72b02b7cc validation: support required option for some struct tag valids 2017-07-03 16:26:23 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
ysqi
77ff15ee33 Implement Error interface for validation error 2016-05-05 19:26:03 +08:00
miraclesu
bef6bca397 Add function to set validation default messages 2016-01-05 21:14:35 +08:00
astaxie
2389bc72f9 golint validation 2015-09-13 00:13:19 +08:00
Wyatt Fang
dfe055c47c remove useless comments 2015-05-25 09:10:36 +08:00
Wyatt Fang
74b22649c8 remove the double isStruct/isStructPtr check 2015-05-25 09:10:36 +08:00
Wyatt Fang
4255630564 add Recursively validation 2015-05-25 09:10:36 +08:00
Donal Byrne
a7e60c93dc Set ErrorsMap to nil in Validation.Clear function 2015-05-25 09:10:35 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
傅小黑
ce2984f09a add comments for testing, utils and validation packages 2014-02-07 16:07:31 +08:00
slene
278f8eb13e add ValidFormer interface, can custom valid 2013-10-09 20:26:23 +08:00
slene
ea9c2cebfd validation add more info to ValidationError, and put all messages tmpl to a map 2013-09-10 21:51:25 +08:00
miraclesu
dcdfaf36f1 Accept parameters more types 2013-07-28 16:59:35 +08:00
miraclesu
f490141217 Add some validate functions 2013-07-27 20:40:15 +08:00
miraclesu
92db56c0cb add struct tag support 2013-07-24 12:20:42 +08:00
miraclesu
4c6163baa0 add funcmap 2013-07-24 01:20:24 +08:00
miraclesu
d19de30d9c add test 2013-07-21 23:46:18 +08:00
miraclesu
6d05163c9f add validation funcs 2013-07-21 01:37:24 +08:00