Commit graph

658 commits

Author SHA1 Message Date
Dean Karn
ab2a8a9908
Update README.md 2018-07-09 08:35:10 -07:00
Dean Karn
e4e19c02df
Merge pull request #381 from foolin/v9
fix package name
2018-07-09 08:34:41 -07:00
foolin
a2ec0a8018 fix package name 2018-07-09 23:30:35 +08:00
Dean Karn
e055f4eb7f
Update README.md 2018-07-09 08:29:00 -07:00
Dean Karn
29f025ab2f
Merge pull request #380 from qdentity/struct-filtered-ctx-fix
Fix unused ctx in StructFilteredCtx
2018-07-09 08:27:08 -07:00
Damir Vandic
bdae516532
Fix unused ctx in StructFilteredCtx 2018-07-09 17:17:09 +02:00
Dean Karn
d942191d51
Update README.md 2018-07-09 07:10:15 -07:00
Dean Karn
5d3224279f
Merge pull request #379 from foolin/v9
add chinese  language for translations
2018-07-09 07:08:08 -07:00
foolin
11caf00975 Merge branch 'v9' of https://github.com/go-playground/validator into v9 2018-07-09 18:58:10 +08:00
Foolin
d1a82a6cdc add chinese translations 2018-07-09 11:35:10 +08:00
Foolin
801b2c40bc update 2018-07-09 10:41:30 +08:00
Foolin
83b055d6df add chinese lang 2018-07-06 17:32:31 +08:00
Dean Karn
ce9336f6e2
Update README.md 2018-06-29 08:00:13 -07:00
Dean Karn
c52a27f737
Merge pull request #377 from heatwole/add-html-url-encoding
Adding html and url encoding and updating docs
2018-06-29 07:58:18 -07:00
heatwole
0a9b75fbfd Adding html and url encoding and updating docs 2018-06-28 18:11:36 -05:00
Dean Karn
9d03e2526a
Merge pull request #376 from noibar/add_file_validation
doc: add file validation documentation
2018-06-28 13:31:57 -07:00
Noi Bar
ea9cb424fd
doc: add file validation documentation 2018-06-28 23:28:43 +03:00
Dean Karn
fb72538343
Update README.md 2018-06-28 12:28:26 -07:00
Dean Karn
71510749b8
Merge pull request #375 from noibar/add_file_validation
Add file path validation
2018-06-28 12:27:59 -07:00
Noi Bar
f2fdb60d7d Add file path validation 2018-06-27 16:04:38 +03:00
Dean Karn
f28cb45dc0
Update README.md 2018-05-14 07:57:39 -07:00
Dean Karn
3e51773f21
Merge pull request #363 from tengis617/fix-comment-typo
fixed typo in comment
2018-05-14 07:57:16 -07:00
Tengis B
8d3aa5bde2 ✏️ fixed typo in comment 2018-05-10 11:57:50 +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
9848c01055
Merge pull request #362 from jadhub/domainnamefix
Fix for Email - Hostname is not validated correctly #359
2018-05-09 08:30:19 -07:00
Joachim Adomeit
379fb67047 Fix for Email - Hostname is not validated correctly #359 2018-05-09 16:50:03 +02: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
b297167b88
Merge pull request #361 from jservice-rvbd/unique-for-maps
Extend the unique tag to also cover map values.
2018-05-05 07:47:09 -07:00
Dean Karn
f459c64611
Merge pull request #358 from Ashtonian/patch-1
add missing `Engine()` to default validator for gin override example
2018-05-05 07:46:33 -07:00
James Service
d978a4b421 Undo whitespace changes from gofmt. 2018-05-04 13:34:51 +01:00
James Service
fc5fbce706 Add new unique functionality to docstring. 2018-05-04 13:23:26 +01:00
James Service
8ae3903dd3 Extend the unique tag to also cover map values. 2018-05-04 13:20:05 +01:00
Ashton Kinslow
9f62099643
add missing Engine() to default validator
to meet new interface requirements in gin
2018-05-01 16:19:59 -05:00
Dean Karn
14984d9132 Merge branch 'QuestofIranon-patch-1' into v9 2018-04-09 22:32:07 -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
josh
073682ea75 added in more test cases and removed some redundant validation steps 2018-04-09 01:49:06 -07:00
josh
ce6284a6fc confirm only all upper or all lower case address are valid 2018-04-08 19:38:12 -07:00
josh
6deddf27eb proper bech32 address validation 2018-04-08 19:38:12 -07:00
josh
3df85bdcfc p2sh validation and more tests 2018-04-08 19:38:12 -07:00
josh
60417282a4 verifies p2pkh addresses 2018-04-08 19:38:12 -07:00
josh
36d83b0b83 Added in validation function, tests, and docs 2018-04-08 19:38:12 -07:00
Dean Karn
ff1ee42e83
Update README.md 2018-04-08 10:23:56 -07:00
Dean Karn
d3984c2e0b
Update main.go 2018-04-08 10:21:03 -07:00
Dean Karn
2a8a333913
Update doc.go 2018-04-08 10:17:23 -07:00
Dean Karn
4894e4ca6c
Merge pull request #351 from kgeorgiou/v9
Add validation for base64 URL safe values
2018-04-08 10:14:56 -07:00
josh
ba5836f763 add bitcoin and ethereum address regexes 2018-04-06 19:58:09 -07:00
Kyriakos Georgiou
030800a855 Add validation for base64 URL safe values 2018-03-28 01:24:00 -04:00
Dean Karn
8ce234ff02
Update README.md 2018-03-19 08:47:08 -07:00