Commit graph

161 commits

Author SHA1 Message Date
Dean Karn
456221b630
Fix time.Duration parsing for int param (#678)
This fixes an issue where if the param of a time.Durtion type is specified
as an integer, denoting nanosecond precision, instead of time duration
string the validation would panic.

the fixes ensures it falls back to the previous expected behaviour.
2020-10-17 08:49:42 -07:00
Dean Karn
8154ee6ca8
Merge branch 'master' into master 2020-09-27 11:50:24 -07:00
Dean Karn
e6eee3ea88
Merge branch 'master' into master 2020-09-27 11:25:00 -07:00
Dean Karn
b1ccceeb11
Merge pull request #664 from erma07/master
Closes #660 added excluded with and without
2020-09-27 11:16:46 -07:00
Takeshi Kaneko
f2ce6a4f92 Fix a category of endswith in README 2020-09-17 21:04:54 +09:00
root
ca0533bb97 Closes #660 readme updates 2020-09-15 19:45:48 +02:00
hzw
44a150f359 add required_if and required_unless 2020-09-03 20:34:19 +08:00
Taylor
0bfda52ce1 Add e164 to doc.go 2020-07-07 14:16:52 -06:00
Dean Karn
ea924ce89a
Update README.md 2020-05-20 23:13:22 -07:00
Dean Karn
a5e9e63a9a
Merge pull request #579 from psampaz/readme_updates
Updated version and go doc link
2020-05-20 22:42:52 -07:00
Pantelis Sampaziotis
afacb47f2b Updated version and go doc link 2020-02-11 12:16:44 +02:00
Pantelis Sampaziotis
9f175c7ece Add list of validation in README 2020-02-10 21:47:11 +02:00
Dean Karn
fb6c45823a
Update README.md 2019-12-24 21:43:24 -08:00
Dean Karn
691a5f5f25
Update README.md 2019-11-17 13:24:22 -08:00
Kaelan Thijs Fouwels
8678802a39
Correction of documentation URL
see https://github.com/go-playground/validator/issues/536
2019-11-17 19:24:39 +00:00
Dean Karn
7e57ca0cf5 convert to go modules 2019-11-11 12:42:35 -08:00
Dean Karn
cd1bd58169
Update README.md 2019-09-29 15:20:42 -07:00
Dean Karn
556b9da3c0
Update README.md 2019-07-12 08:35:03 -07:00
Dean Karn
884d31b8ca
Update README.md 2019-05-23 07:57:40 -07:00
Dean Karn
46b4b1e301
Update README.md 2019-03-31 06:31:25 -07:00
Dean Karn
b199fa0642
Update README.md 2019-02-12 07:25:59 -08:00
Dean Karn
774d09c386
Update README.md 2019-01-27 21:00:45 -08:00
Dean Karn
cdd5c28d21
Update README.md 2019-01-08 20:40:31 -08:00
Dean Karn
0277b12d53
Update README.md 2018-12-08 08:39:51 -08:00
Dean Karn
e69e9a28bb
Update README.md 2018-08-13 07:34:31 -07:00
Dean Karn
ab2a8a9908
Update README.md 2018-07-09 08:35:10 -07:00
Dean Karn
e055f4eb7f
Update README.md 2018-07-09 08:29:00 -07:00
Dean Karn
d942191d51
Update README.md 2018-07-09 07:10:15 -07:00
Dean Karn
ce9336f6e2
Update README.md 2018-06-29 08:00:13 -07:00
Dean Karn
fb72538343
Update README.md 2018-06-28 12:28:26 -07:00
Dean Karn
f28cb45dc0
Update README.md 2018-05-14 07:57:39 -07:00
Dean Karn
ffe836d736 Expanded numeric & number validations
It was originally intended for these to only be used on strings, however
it makes sense to also use them if your dealing with type interface{}

so now ints and floats return true for this validation also as they are
both numeric and numbers.

closes #356
2018-05-09 09:00:03 -07:00
Dean Karn
801c8790f3
Update README.md 2018-05-09 08:31:40 -07:00
Dean Karn
ee0bbdea51 increment version 2018-05-05 09:24:17 -07:00
Dean Karn
54da7fa48f fix linting and spelling errors 2018-05-05 09:23:38 -07:00
Dean Karn
b5512bc1ff Merge branch 'patch-1' of https://github.com/QuestofIranon/validator into QuestofIranon-patch-1 2018-04-09 22:31:46 -07:00
Dean Karn
ff1ee42e83
Update README.md 2018-04-08 10:23:56 -07:00
Dean Karn
8ce234ff02
Update README.md 2018-03-19 08:47:08 -07:00
Dean Karn
150fe5b6a4
Update README.md 2018-02-20 08:21:16 -08:00
Dean Karn
535f85221e
Update README.md 2018-02-15 08:51:41 -08:00
Dean Karn
5e036656b8 Add hostname_rfc1123 validation 2018-02-15 08:50:04 -08:00
Dean Karn
3620d3c069 update docs for FieldWithValue=>VarWithValue 2018-02-03 10:35:28 -08:00
Dean Karn
b962f3d7d5 Correct Var tagCache locking 2018-01-14 13:58:17 -08:00
Dean Karn
230db62e07
update docs to clarify or vs tag separators (#334) 2018-01-05 19:46:09 -08:00
Dean Karn
b1f51f36f1
Correct consequtive or logic (#330) 2017-12-13 08:54:38 -08:00
Dean Karn
61caf9d303
add map key validation support (#324) 2017-11-12 20:58:10 -08:00
Dean Karn
1304298bf1 Update README.md 2017-10-22 20:06:16 -07:00
Dean Karn
34b84953ff change related software 2017-10-22 19:59:26 -07:00
Dean Karn
11a1fab51d Add unique validation 2017-10-22 17:20:41 -07:00
Dean Karn
0b5dc7605b Add isdefault validation 2017-08-20 09:53:47 -07:00