joeybloggs
b2d8b4186c
update more comments
9 years ago
joeybloggs
9990e055a3
update comments
9 years ago
joeybloggs
0b51279b05
Update Error Pool
...
* made error pool per validator instance to reduce contention is
multiple validators are in play.
9 years ago
joeybloggs
70cb087d5a
update how config is passed in and assigned to validator
...
* makes it safer as options passed in by reference, in the future, will
not be manipulatable externally.
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
b213226b01
Add Alias to the unique features section of README
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
...
- Unexport Alias Map in order to preserve any custom user aliases that
may conflict with new aliases added to the library itself....need to
copy them for each new validator.
- update error to report alias tag as the error tag and add actualTag to
know what it would have actually been.
9 years ago
joeybloggs
2cda50fb41
Add Tag Alias + basic tests
...
so far so good
9 years ago
Dean Karn
f6ff3d4da3
Merge pull request #164 from bluesuncorp/v7-development
...
Update README.md
9 years ago
Dean Karn
ca7facef9c
Update README.md
...
update v6 accidentally left in README example to v7
9 years ago
joeybloggs
3191556e30
Merge branch 'v7-development' into v7
9 years ago
Dean Karn
9a7e605915
Update README.md
...
update coverage badge
9 years ago
Dean Karn
d5462d5b41
Merge pull request #163 from bluesuncorp/v7-development
...
Update benchmarks + old external v6 references to v7
9 years ago
Dean Karn
8146ec40c7
Merge pull request #162 from joeybloggs/v7-development
...
Update benchmarks + old external v6 references to v7
9 years ago
joeybloggs
77751ca042
update external references from v6 to v7
9 years ago
joeybloggs
4ab8352362
update benchmarks after nefield + necsfield changes
9 years ago
Dean Karn
72a602000a
Update README.md
...
update CI badge to v7
9 years ago
Dean Karn
95213db264
Update README.md
...
Update CI badge to v7-development branch
9 years ago
Dean Karn
d423756cc0
Merge pull request #161 from joeybloggs/v7-development
...
Changes for v7
9 years ago
joeybloggs
ce06c47267
rename some variable for clarity
9 years ago
joeybloggs
43d7f25cfb
update nefield and necsfield to hav own logic instead of calling !eqfield...
9 years ago
joeybloggs
55f9e44ce5
Update benchmarks for new go 1.5!
9 years ago
joeybloggs
15fdf82c30
Update verbiage for unique features for v7 cross struct cross field validation tags.
9 years ago
joeybloggs
3f4f84c358
Merge branch 'v6-development' into merge
...
Conflicts:
README.md
baked_in.go
benchmarks_test.go
util.go
validator_test.go
Changes to be committed:
modified: README.md
modified: baked_in.go
9 years ago
Dean Karn
19d8904f2c
Merge pull request #157 from joeybloggs/v6-development
...
Backport v7 updates
9 years ago
joeybloggs
14b90946b3
Backport v7 updates
...
backporting v7 updates for the near released v7.
9 years ago
joeybloggs
d7b348e4b3
Merge branch 'v6-development' into v7-development
9 years ago
Dean Karn
b5317c5c5c
Update examples_test.go
...
Backport change to update import path from pull request #155
9 years ago
joeybloggs
7757a227ed
Add benchmark for StructExcept
9 years ago
joeybloggs
883731a774
Updates + Benchmarks
...
update documentation.
add benchmarks for StructPartial, dive tag, cross field and cross struct cross field.
9 years ago
joeybloggs
4f46e02133
Add documentation for cross struct validation tags + Struct Partials
9 years ago
joeybloggs
387cfe5aa9
Complete adding StructPartial and StructExcept
...
for issue-#149
9 years ago
joeybloggs
656ae32e8b
Updated PanicMatches after assertion library updates
...
now panic less, instead of panicing when data types do not match
in the field and cross field validations, the validation just
fails, because it's true i.e. does nil != 5 pass
or does nil == "string" nope fail
9 years ago
joeybloggs
4a8a489366
Merge remote-tracking branch 'upstream/v7-development' into merge
9 years ago
Dean Karn
305c50fb58
Merge pull request #153 from bluesuncorp/v6
...
Merge latest changes into v7-development
9 years ago
Dean Karn
6df82fdf49
Merge pull request #152 from bluesuncorp/v6-development
...
Updated Panic Tests after updates to assertion library
9 years ago
Dean Karn
8a9ed1f107
Merge pull request #151 from joeybloggs/v6-development
...
Updated Panic Tests after updates to assertion library
9 years ago
joeybloggs
844f5f46f7
Updated Panic Tests after updates to assertion library
9 years ago
joeybloggs
8ae139a445
Partially Merged in Partial struct methods + Tests
9 years ago
joeybloggs
3697be93be
update benchmarks, pretty much the same
9 years ago
joeybloggs
8ff687aae4
code cleanup
9 years ago
joeybloggs
1fbc384272
Complete test coverage for gecsfield, gtecsfield, ltcsfield and ltecsfield
9 years ago
joeybloggs
327aa2e826
Add gtcsfield, gtecsfield, ltcsfield and ltecsfield
9 years ago
joeybloggs
cd50c5e085
Added necsfield method + tests
9 years ago
joeybloggs
3a0791591a
Add cross struct map support for all types not just string
9 years ago