Commit Graph

143 Commits (2de56ed26a4b1eceae9bf453812fbd212628b99e)

Author SHA1 Message Date
joeybloggs 3e196d49c6 saving some bytes uint8 vs int 9 years ago
joeybloggs b2c8f66e7b why pass the Field names, they already belong to the namespaces... 9 years ago
joeybloggs 6765805f88 continuing perf optimizations 9 years ago
joeybloggs 27b607d6ad avoid a couple of dive allocations 9 years ago
joeybloggs ecad6333b1 increase dive tag performance. 9 years ago
joeybloggs dcdba454d7 some variable cleanup 9 years ago
joeybloggs a8f7aaba72 remove TODO: tried it, only helped with 1 allocation, not worth the overhead and potential contention 9 years ago
joeybloggs f581a2d517 reuse field 9 years ago
joeybloggs 98dee40973 perf updates all around! 9 years ago
joeybloggs 8c60a612c5 code coverage back to 100% + some code cleanup 9 years ago
joeybloggs 5fedd8c08a buffer errTag + errs array. 9 years ago
joeybloggs 1ff58be284 finish conversion of test + some fixes. 9 years ago
joeybloggs 3bf69e2bbd converting tests 9 years ago
joeybloggs 7e731afde9 field name updates 9 years ago
joeybloggs e0e1af6a61 working instance 9 years ago
joeybloggs 7a080ada5b Fix issue with omitempty combined with nullable types in combination with a default static value set as the value 9 years ago
joeybloggs 43f7b7d61a save some bytes 9 years ago
joeybloggs 4ce4d1cd71 gain another 5% on average by changing tag type from bool's to enum 9 years ago
joeybloggs 330b12dacd Phase 1 optimization complete, Phase 2 ( Warm liquid goo phase ) commencing 9 years ago
joeybloggs 210684a828 code cleanup + add missing tag cache with FieldWith func 9 years ago
joeybloggs c0a414dc9e initial un-refined new caching system 9 years ago
joeybloggs 5c8ad6a1a9 only check struct validity once 9 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
joeybloggs 9990e055a3 update comments 9 years ago
joeybloggs 0b51279b05 Update Error Pool 9 years ago
joeybloggs 70cb087d5a update how config is passed in and assigned to validator 9 years ago
joeybloggs 10cf645b91 reorganization of code + variables to more appropriate structs 9 years ago
joeybloggs 9988ba3f45 update New to use register functions to avoid errors 9 years ago
joeybloggs 4807bf93bb unexpose baked in validators map for safety. 9 years ago
joeybloggs c293315337 updated tag caching for maximum performance 9 years ago
joeybloggs b4563c2cf6 Add alias docs + notes 9 years ago