Commit Graph

167 Commits (master)

Author SHA1 Message Date
Yasoob Haider 29d50ba963
add validation for base64 url without = padding (#1024) 1 year ago
Lauris BH f09500fca7
Fix support for aliased time.Time types (#890) 2 years ago
XIE Long af72f63d39
Result is wrong while there are multiple group of OR operators #910 (#911) 2 years ago
Alonso Villegas b1b32b2064
Fix map diving validation (#793) 3 years ago
Torwang 882ec0def4
fix StructLevel Parent() (#716) 3 years ago
nigelis 6f81b7d8d0 Validate tag omitempty, only base on field value 4 years ago
Dean Karn c0f05c7b3d fix required_* 5 years ago
Dean Karn cc25246f01 fix required_without_* 5 years ago
Dean Karn 54da7fa48f fix linting and spelling errors 6 years ago
Dean Karn 5e036656b8 Add hostname_rfc1123 validation 6 years ago
Dean Karn b962f3d7d5 Correct Var tagCache locking 6 years ago
Dean Karn b1f51f36f1
Correct consequtive or logic (#330) 7 years ago
Dean Karn 61caf9d303
add map key validation support (#324) 7 years ago
Dean Karn 0b5dc7605b Add isdefault validation 7 years ago
Dean Karn 0f6f568263 Add contextual validation support via context.Context (#296) 7 years ago
Dean Karn fb68f39656 Add Access to Field Name from FieldLevel (#284) 7 years ago
Dean Karn 077c3830f3 Correct Namespace when array or map of structs 8 years ago
Dean Karn 49fccadad1 correct structonly functionality 8 years ago
Dean Karn 4e43fa1562 change field cache to array 8 years ago
Dean Karn 493dfb6209 correct required tag functionality for pointers, now works like old `exists` tag. 8 years ago
Dean Karn 506cc5da56 Add Filter logic 8 years ago
Dean Karn cddc415625 perf enhancements + corrected issue with or's 8 years ago
Dean Karn a7ca4a1d32 add default translations for "en" 8 years ago
Dean Karn 532878b008 initial translation/custom error code 8 years ago
joeybloggs 3e196d49c6 saving some bytes uint8 vs int 8 years ago
joeybloggs b2c8f66e7b why pass the Field names, they already belong to the namespaces... 8 years ago
joeybloggs 6765805f88 continuing perf optimizations 8 years ago
joeybloggs 27b607d6ad avoid a couple of dive allocations 8 years ago
joeybloggs ecad6333b1 increase dive tag performance. 8 years ago
joeybloggs dcdba454d7 some variable cleanup 8 years ago
joeybloggs a8f7aaba72 remove TODO: tried it, only helped with 1 allocation, not worth the overhead and potential contention 8 years ago
joeybloggs f581a2d517 reuse field 8 years ago
joeybloggs 98dee40973 perf updates all around! 8 years ago
joeybloggs 8c60a612c5 code coverage back to 100% + some code cleanup 8 years ago
joeybloggs 5fedd8c08a buffer errTag + errs array. 8 years ago
joeybloggs 1ff58be284 finish conversion of test + some fixes. 8 years ago
joeybloggs 3bf69e2bbd converting tests 8 years ago
joeybloggs 7e731afde9 field name updates 8 years ago
joeybloggs e0e1af6a61 working instance 8 years ago
joeybloggs 7a080ada5b Fix issue with omitempty combined with nullable types in combination with a default static value set as the value 8 years ago
joeybloggs 43f7b7d61a save some bytes 8 years ago
joeybloggs 4ce4d1cd71 gain another 5% on average by changing tag type from bool's to enum 8 years ago
joeybloggs 330b12dacd Phase 1 optimization complete, Phase 2 ( Warm liquid goo phase ) commencing 8 years ago
joeybloggs 210684a828 code cleanup + add missing tag cache with FieldWith func 8 years ago
joeybloggs c0a414dc9e initial un-refined new caching system 8 years ago
joeybloggs 5c8ad6a1a9 only check struct validity once 8 years ago
joeybloggs f38559b489 Update checking unexpected fields for Go 1.6 https://tip.golang.org/doc/go1.6#reflect 8 years ago
joeybloggs 0862513fbf Add some string check optimizations 8 years ago
joeybloggs 0b533f264c Only set namespace prefix when using FieldNameTag 8 years ago
joeybloggs afbcf59553 Add FieldNamespace and NameNamespace 8 years ago