miraclesu
6e34f43721
Fix break API change
...
support int64 on 64-bit platform
2017-06-28 16:56:37 +08:00
miraclesu
2231841d74
validation: support int64 int32 int16 and int8 type
2017-06-21 14:13:30 +08:00
astaxie
388a5610fa
Merge pull request #2365 from chesedo/RequiredValidationCatchSpaces
...
[WIP]Have Required validator trim strings to fix #2361
2017-05-18 22:44:15 +08:00
astaxie
69f0b94745
fix gosimple
2017-05-16 22:21:43 +08:00
miraclesu
c9cc642d37
validation: amend email test case
2017-03-12 20:27:09 +08:00
miraclesu
b34853f8cc
validattion: add test case for email valid
2017-03-12 19:30:23 +08:00
chesedo
a8a2dffc59
Have Required validator trim strings to fix #2361
...
This will cause the Required validator not to consider fields that has
only spaces or new lines to be regarded as valid. This is done by
checking if the trimmed version of the string is valid.
2017-01-06 10:12:22 +02:00
astaxie
2389bc72f9
golint validation
2015-09-13 00:13:19 +08:00
Wyatt Fang
4255630564
add Recursively validation
2015-05-25 09:10:36 +08:00
pylemon
2c9363d29b
add tests to ensure bool value require test always return true.
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
miraclesu
97d99fcef2
Change tag valid func default key
2013-08-06 23:15:20 +08:00
miraclesu
6662eef2fd
Support Match validate function for tag
2013-07-28 19:22:09 +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
ddb9ed39a5
add validation README
2013-07-22 17:40:32 +08:00
miraclesu
d19de30d9c
add test
2013-07-21 23:46:18 +08:00