joeybloggs
4bdd703409
Remove old validator code
...
was just keeping around for reference when converting.
9 years ago
joeybloggs
07f2263b41
Benchmark Updates
...
Renamed for better clarity.
Added Field OrTag Benchmark.
9 years ago
joeybloggs
7f4b49c751
Finished Tests, now at 100% test converage!
9 years ago
joeybloggs
4ce39526f6
Update Test Case + fix errors
...
Updated all tests to comply with new api.
Fix a few bugs found with validation.
9 years ago
joeybloggs
24d46304a8
Updating & re-injecting tests
...
updating test for the new error return formet
updated assertion functions to handle a nil Map,Slice,Ptr.....type
fixed hasValue check not comparing Interface but field Value.
9 years ago
joeybloggs
88cc19b9e1
Add traverseMap function
9 years ago
joeybloggs
4d2ffbedfc
Added traverseSlice function
9 years ago
joeybloggs
019c5fc4ac
Finished converting baked in functions & some updates
...
completed all validations function conversion.
updated omitempty check to continue if all ok instead of
passing tag to be validated.
9 years ago
joeybloggs
68ba87af24
More Progess
...
added single field validation function.
updated a few more baked in functions.
added back single field validation benchmark.
9 years ago
joeybloggs
7af3fb7c1f
initial validation logic reworked
...
initial function layouts and validation completed, still need to rework
all of the baked in functions, add map and array traversal and add back original
test cases.
NOTE: a far more pragmatic validation tests will be added, but not until it has
been proven stable with at least the old tests.
9 years ago
joeybloggs
953cc993e6
Merge remote-tracking branch 'upstream/v5' into v6-development
9 years ago
Dean Karn
ac33a23e6e
Merge pull request #113 from bluesuncorp/v5-development
...
update string comparisons to use utf8.RuneCountInString
9 years ago
Dean Karn
8a9bd75ae8
Merge pull request #112 from joeybloggs/v5-development
...
update to use utf8.RuneCountInString for string length
9 years ago
joeybloggs
89e9d9731d
update to use utf8.RuneCountInString for string length comparisons
...
updated baked in functions:
hasLengthOf
isGt
isGte
isLt
isLte
to use utf8.RuneCountInString for string length comparisons, not counting multi-bye
characters but runes in string length comparisons.
9 years ago
joeybloggs
b52f154023
Merge remote-tracking branch 'upstream/v5-development' into v5-development
9 years ago
Dean Karn
314b33a481
Merge pull request #111 from zhing/v5-development
...
V5 development
9 years ago
joeybloggs
9596b89a26
working on traversing field values
...
whether it's a struct field or just a regular field
working on a single function to handle both to reduce
checking the same values within struct field recursion or
a regular field; this will also help reduce code complexity
and keep things DRY.
9 years ago
zhing
3bece518fa
Merge branch 'v5-development' of https://gopkg.in/bluesuncorp/validator.v5 into v5-development
9 years ago
zhing
0fa8dd2a3e
add validate:len=? support for utf-8
9 years ago
joeybloggs
e42d7b683a
determined variable values to be passed
...
for #74
9 years ago
joeybloggs
c62550c414
Investigating difference speed architectures
...
investigation if goroutines in a consumer producer pattern vs passing a map
Spoiler: the map wins out big time!
9 years ago
Dean Karn
ed304c7fdf
Merge pull request #110 from bluesuncorp/v5
...
merge latest changes from v5
9 years ago
Dean Karn
06aac46c91
Merge pull request #109 from bluesuncorp/v5-development
...
Merge latet changes into v5
9 years ago
Dean Karn
988489de15
Merge pull request #108 from joeybloggs/v5-development
...
V5 development
9 years ago
joeybloggs
9d2b8ee9d4
updated coverage tests to be 100%
9 years ago
joeybloggs
e1fd32247f
Fix interface issue when value is set but no validation tag exists
9 years ago
Dean Karn
e02a29b19b
Merge pull request #105 from gitter-badger/gitter-badge
...
Add a Gitter chat badge to README.md
10 years ago
The Gitter Badger
c4ae288afd
Added Gitter badge
10 years ago
Dean Karn
7422dd4828
update latest benchmarks
10 years ago
Dean Karn
6ae2952f55
Merge pull request #104 from bluesuncorp/v5
...
merge latest changes from v5
10 years ago
Dean Karn
d2748d5ae5
Merge pull request #103 from bluesuncorp/v5-development
...
Implement native go sync.Pool
10 years ago
Dean Karn
28b71ba8ae
Merge pull request #102 from joeybloggs/v5-development
...
Implement native go sync.Pool
10 years ago
joeybloggs
9d4c0ec302
update travis.ml for overalls, which is giving nothing but problems!
10 years ago
joeybloggs
302c3cffdd
to use new sync pool remove go 1.2 support
...
for #98
10 years ago
joeybloggs
562e77833a
change to use native sync.Pool
...
for #98
10 years ago
Dean Karn
31fb6bb006
Merge pull request #97 from bluesuncorp/v5
...
merge latest changes from v5
10 years ago
Dean Karn
b9105b5bf7
Merge pull request #96 from bluesuncorp/v5-development
...
Updated README
10 years ago
Dean Karn
e5ebe76ccf
Merge pull request #95 from joeybloggs/v5-development
...
Update README
10 years ago
joeybloggs
46b655a956
add some benchmarks to readme
...
for #72
10 years ago
joeybloggs
c4203fff25
add file and README example
10 years ago
joeybloggs
89a5909004
add test to ensure 100% of the lines of code are called, even in the pool
10 years ago
Dean Karn
f88ea46a9a
Merge pull request #94 from bluesuncorp/v5
...
Merge badge addition to v6 development
10 years ago
Dean Karn
0e7326e6a7
Merge pull request #93 from bluesuncorp/v5
...
Merge latest badge changes to development
10 years ago
Dean Karn
82abe38795
Add test coverage badge
...
add test coverage badge for issue #92
10 years ago
Dean Karn
26333a65c1
add goveralls test coverage
...
for #92
10 years ago
Dean Karn
5ca3cffc8c
Merge pull request #91 from bluesuncorp/v5
...
merge latest changes from v5
10 years ago
Dean Karn
d8e0c4d936
Merge pull request #90 from bluesuncorp/v5-development
...
Update Flatten logic to handle new dive logic
10 years ago
Dean Karn
4f5ff0f3b4
Merge pull request #89 from joeybloggs/v5-development
...
Update Flatten logic to handle new dive logic
10 years ago
joeybloggs
92bd6b335a
code cleanup
...
for #88
10 years ago
joeybloggs
f604b6cc96
Complete Flatten logic
...
for #88
10 years ago