Commit Graph

128 Commits (fd299f5b795903de5f91c83634f492987f6a732d)

Author SHA1 Message Date
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 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
joeybloggs a964f5384a Completed 100% test coverage for alis registration 9 years ago
joeybloggs 407aac458f Update Alias logic 9 years ago
joeybloggs 2cda50fb41 Add Tag Alias + basic tests 9 years ago
joeybloggs 14b90946b3 Backport v7 updates 9 years ago
joeybloggs 883731a774 Updates + Benchmarks 9 years ago
joeybloggs 4f46e02133 Add documentation for cross struct validation tags + Struct Partials 9 years ago
joeybloggs 387cfe5aa9 Complete adding StructPartial and StructExcept 9 years ago
joeybloggs 8ae139a445 Partially Merged in Partial struct methods + Tests 9 years ago
joeybloggs 2fe52ca08f finish eqcsfield + test coverage 9 years ago
joeybloggs d19088f865 Code Cleanup + some renaming 9 years ago
joeybloggs 3ab458c80c Updates 9 years ago
joeybloggs 50f0798342 Run gofmt -s -w . on code 9 years ago
joeybloggs 7e97fcf2c4 Add exists tag 9 years ago
joeybloggs d2ea21ad15 Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc 9 years ago
Kevin Harrington 7c844893e1 Added RegisterCustomTypeFunc method and usage example. 9 years ago