Commit Graph

151 Commits (4bd19358521c53f09639f21e2a9d6883d6890f24)

Author SHA1 Message Date
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 9 years ago
joeybloggs 0862513fbf Add some string check optimizations 9 years ago
joeybloggs 0b533f264c Only set namespace prefix when using FieldNameTag 9 years ago
joeybloggs afbcf59553 Add FieldNamespace and NameNamespace 9 years ago
joeybloggs e019c28542 Add struct field + associated tags caching 9 years ago
joeybloggs 94182a2199 init struct cache changes 9 years ago
joeybloggs b0bd08d7c8 Micro optimization in Tag Cache 9 years ago
joeybloggs cab69bdd13 Add minor optimization for structonly & nostructlevel checks 9 years ago
joeybloggs 24c1c6819f Add nostructlevel tag 9 years ago
joeybloggs 59859969c6 Fix issue with structOnly + struct level validation 9 years ago
joeybloggs 29403404e4 Added Helper method to Report errors from struct level. 9 years ago
joeybloggs f1acffdfe0 Add Struct Level Validation! 9 years ago
joeybloggs 1570c9b6b3 Update Error message quotes to single quotes 9 years ago
joeybloggs fc5d9f3ae0 Exposed Baked In Validators 9 years ago
joeybloggs 3cef97a452 minor speed improvements 9 years ago
İlker Göktuğ Öztürk 5bc0ff91f8 configurable field name support 9 years ago
joeybloggs 830d270923 Expose Methods for Custom functions 9 years ago
joeybloggs 14df416126 Update Validator instance check 9 years ago
Joel Williams 715aa553c8 Added checking for nil receiver on Validator methods 9 years ago
joeybloggs b2d8b4186c update more comments 9 years ago