cui fliter
939eb560ae
fix some comments
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
Dean Karn
f5e5146b31
update version README
2 years ago
Cyro Dubeux
56e2f31322
pt_BR translation improvements ( #967 )
2 years ago
Joselito Viveiros Nogueira Filho
e9f2d9f21a
fix: removed unnecessary cast so we can mock ValidationErrors ( #980 ) ( #981 )
2 years ago
Eduardo Mello
b43d437012
feat: ✨ add cve validator ( #983 )
2 years ago
João Fonseca
58d420de41
add kosovo ( #1081 )
...
Co-authored-by: Fonseca <joaofonseca.2570@gmail.com>
2 years ago
Aleksander Dejewski
c6f8637983
Fixed NotBlank validator to cover all whitespace characters ( #997 )
2 years ago
Gatis Rīders
f6f934c4e9
Added Latvian translations ( #1005 )
2 years ago
konstantin
ae3e728763
Introduce Luhn Checksum Validation ( #1009 )
2 years ago
Tanryberdi
0665b9518a
Refactor: fix for lint errors ( #1011 )
2 years ago
jnst
21b88d1a25
Fix the Japanese translations of gte and lte ( #1012 )
2 years ago
jnst
4f5cf1d499
Update Japanese translations ( #1013 )
...
* Update japanese translations for required_if, unique, json, jwt, lowercase, uppercase, datetime, postcode_iso3166_alpha2, postcode_iso3166_alpha2_field, boolean
* Remove unnecessary blank lines
2 years ago
Kmilo Denis González
2f3efda84f
Added a genre enum to the user model and a custom validation ( #1014 )
2 years ago
brent s
2e43671001
(New validator) Validate non-existing but valid file/directory paths ( #1022 )
2 years ago
just Alan
f560fd4e07
Feat: support mongodb objectID validation ( #1023 )
...
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2 years ago
Yasoob Haider
29d50ba963
add validation for base64 url without = padding ( #1024 )
...
Co-authored-by: Yasoob Haider <yasoob.haider@zomato.com>
Co-authored-by: Dean Karn <Dean.Karn@gmail.com>
2 years ago
zemzale
1c1f70d35b
feat(unique): Add support for struct memember validation ( #1048 )
...
This allows validating that two struct memebers are unique. This has
been documented as a feature, but has never been actually implemented.
2 years ago
Yann Salaün
cc768b176d
fix unique= when struct field is a nil pointer ( #1041 )
...
Fix https://github.com/go-playground/validator/issues/749
Co-authored-by: Yann Salaün <ysalaun@yubik.io>
2 years ago
Alberto Forcato
3ee65f8c59
Add cron support ( #1045 )
2 years ago
Owen Gong
89b91cea99
Added "http_url" tag to validate if the variable is a HTTP(s) URL ( #1047 )
2 years ago
Vijay Nallagatla
f2078f7696
Fix unique validator for map with Pointer value ( #1062 )
2 years ago
Arthur Jenoudet
ef342b6f7c
fix validator excluded_unless ( #1064 )
2 years ago
Dean Karn
f3086daf63
fix README
2 years ago
Vitor Hugo
75ba9f6a84
Update README.md ( #1066 )
2 years ago
Dean Karn
13ad6f5b30
update deps
2 years ago
Simon Tremblay
c242c49c02
Update go.mod/go.sum using go mod tidy ( #1071 )
2 years ago
Dean Karn
f17b3458fa
fix README
2 years ago
Dean Karn
d1178535f7
change eq and ne ignore case tag names
2 years ago
sgallizia
72a3e75460
added IsEqIgnoreCase and IsNeIgnoreCase ( #1076 )
2 years ago
Phil Porada
c0b3430b1f
Fix spelling error in doc ( #1078 )
2 years ago
Mohamed Sohail
b95730fb11
feat: add eth_addr_checksum validation, update eth_addr ( #1080 )
...
rationale:
- ethereum addresses are derived from a public key (the last 20 bytes). The network accepts any case insensitive address as long as it is a 40 char alphanumeric (When the last 20 bytes are converted to hex). It is 0x prefixed so that it becomes 42 in length, hence the current eth_addr implementation is modified to reflect this.
- Checksum-ing is optional on ethereum and is a way of typo checking the address hence this is introduced as a new validation i.e. eth_addr_checksum.
refs:
- https://github.com/ethereum/go-ethereum/blob/master/crypto/crypto.go#L275
- https://goethereumbook.org/en/wallet-generate/
- https://goethereumbook.org/en/address-check/
2 years ago
Dean Karn
8f07b03682
update deps ( #1061 )
2 years ago
Roberto Ramírez
7edc63a0be
#updated Added required_id spanish translation ( #1026 )
2 years ago
Marc Brugger
3201fe42fe
Add FQDN en translation ( #1058 )
2 years ago
wjl110
5aa5f93593
update gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b to 3.0.0 ( #1057 )
2 years ago
tomaisthorpe
f036dd475d
update golang.org/x/text to resolve CVE-2022-32149 ( #1015 )
2 years ago
Dean Karn
c7e0172e0f
Update README.md
2 years ago
Vaibhav Dighe
1e8c614c2a
Fixed boolean validation to handle bool kind ( #988 )
2 years ago
Dean Karn
9e2ea40380
update ci action versions
3 years ago
Dean Karn
29bf2a5bd0
bump version
3 years ago
Dean Karn
02c12dd7ef
update RegisterStructValidationMapRules docs
3 years ago
Leo Liang
d0d0c355aa
Feat: support validate struct without struct tag ( #934 )
3 years ago
Jason.Zhang
d3e4be3e44
Enhanced ValidationCtx method to support nested map in slice #915 ( #917 )
3 years ago
gosua
99922fccc7
Enhance example in function docu ( #858 )
3 years ago
Sec Cake
4f55647bd7
Added some hash validation ( #875 )
3 years ago
mrkongo
39aa2e3a27
add it_IT translation ( #694 )
3 years ago
Vuong
7fa836dc0a
Add Vietnamese translations ( #820 )
3 years ago
Ayoob Mohammed
21a103f428
Add Arabic translations ( #825 )
...
* Add arabic translations
* Add ULID translation
3 years ago
Eduardo Mello
e3f29bf088
Boolean translation ( #930 )
...
* ✨ add en boolean translation
* ✨ add pt-BR boolean translation
3 years ago
Renato Alves Torres
d37da5e53c
fix: add en translation for required_if ( #884 )
3 years ago