joeybloggs
200a5b4aad
finish map error handling & complete test coverage
...
for #78
10 years ago
joeybloggs
8bf793acde
correct map references pointing to slice after copy/paste
...
for#78
10 years ago
joeybloggs
14f176e8ac
add traverseMap
...
for #78
10 years ago
joeybloggs
98f4165fae
added time test
...
fix issue with time.Time data type validation
10 years ago
joeybloggs
a0f6d14ada
add more tests
...
correct pointer issue is traverseArray
for #78
10 years ago
joeybloggs
689d3e9989
finalized array error handling
...
for #78
10 years ago
joeybloggs
1ba858eec1
correct FieldError error printing idea issue
...
for #78
10 years ago
joeybloggs
6eded1f817
correct error output and index out of order error
...
for #78
10 years ago
joeybloggs
d019d02290
Add some initial validation
...
change slice errors variable type to map[int]error to allow tracking of index of the error i the array
for #78
10 years ago
joeybloggs
4afdc19aef
Finish initial array traversal logic
...
for #78
10 years ago
joeybloggs
a3cf2f5cf3
Merge branch 'v5-development' into add-array-slice-map-dive-support
10 years ago
Dean Karn
27a1d3f158
Merge pull request #81 from bluesuncorp/v5-development
...
Fix Issue with nested struct as pointer being nil
10 years ago
Dean Karn
3e4207bccb
Merge pull request #80 from joeybloggs/v5-development
...
Fix Issue with nested struct as pointer being nil
10 years ago
joeybloggs
e0e86490bf
Fix Issue with nested struct as pointer being nil
...
for #79
10 years ago
joeybloggs
e0bfa17b22
add initial dive logic
10 years ago
Dean Karn
c06d47f593
Merge pull request #77 from bluesuncorp/v5-development
...
Merge new validators + godoc examples
10 years ago
Dean Karn
64eb07fa30
Merge pull request #76 from joeybloggs/v5-development
...
Add More Validators + Add godoc examples
10 years ago
joeybloggs
63a3b7e6ad
add multibyte test case for blank string to maintain 100% test coverage
10 years ago
joeybloggs
35aff710e4
added many new validator + tests + documentation:
...
ascii
printascii
multibyte
datauri
latitude
longitude
ssn
10 years ago
joeybloggs
7aa70841bc
add uuid, uuid3, uuid4 and uuid5 validators + tests + documentation
10 years ago
joeybloggs
20d9b7909f
add isbn, isbn10 and isbn validators + tests + documentation
10 years ago
joeybloggs
05e0fe1f85
updated various regex's to remove any capturing groups
10 years ago
joeybloggs
5db5165e2c
update rub and reba regex
...
rejects now properly test for RGB 255 and RGB using percentages, before it allowed mixing of percentages or numbers between 0-255 but it's either or now.
10 years ago
joeybloggs
9ff11ae808
break out benchmarks into separate file
...
create examples file for better godocs
10 years ago
Dean Karn
df95f9de27
Merge pull request #71 from bluesuncorp/v5-development
...
V5 development
10 years ago
Dean Karn
be66dfe125
Merge pull request #70 from joeybloggs/v5-development
...
add call to SetMaxStructPoolSize in test to ensure continued 100% tes…
10 years ago
joeybloggs
f4837a073b
add call to SetMaxStructPoolSize in test to ensure continued 100% test coverage
10 years ago
Dean Karn
ecfab4f37a
Merge pull request #69 from bluesuncorp/v5-development
...
V5 development
10 years ago
Dean Karn
ac10117172
Merge pull request #68 from joeybloggs/v5-development
...
V5 development
10 years ago
joeybloggs
fcbf6b65e4
add caching pool of StructErrors to reuse objects, reduce garbage collection and reduce memory allocations
...
for #56
10 years ago
joeybloggs
678d778cba
Merge branch 'investigate-including-comma-in-data' into v5-development
10 years ago
joeybloggs
0fbc3228e8
rework code to allow handling of comma (,) and = within the params i.e. excludesall=,=
...
add test cases for comma and = validation within params
add documentation stating how to include a comma within the parameters
for #67
10 years ago
Dean Karn
c6a510f8a9
Merge pull request #65 from bluesuncorp/v5-development
...
V5 development
10 years ago
Dean Karn
d40121962a
Merge pull request #64 from joeybloggs/v5-development
...
V5 development
10 years ago
joeybloggs
793099be40
remove trimming of param option as space could be a valid param option or char
...
for #63
10 years ago
Dean Karn
6ae296cb93
Update README.md
...
fix go get documentation, remove the -u option
10 years ago
Dean Karn
8461815c10
Merge pull request #61 from bluesuncorp/v5-development
...
V5 development
10 years ago
Dean Karn
3d15a126d3
Merge pull request #60 from joeybloggs/cache-struct-schema-metadata
...
Cache struct schema metadata
10 years ago
joeybloggs
1fda4930f6
comment out parallel benchmarks to maintain go 1.2 compatibility
10 years ago
joeybloggs
aa275c658d
merge pul request changes from @xboston
10 years ago
joeybloggs
39656b5186
Merge branch 'v5-development' into cache-struct-schema-metadata
10 years ago
joeybloggs
98ee4c3a5d
Merge branch 'v6-development' into v5-development
10 years ago
joeybloggs
56b4ce1811
add larger tests for benchmarks
10 years ago
joeybloggs
81ce302975
add parallel benchmark
10 years ago
joeybloggs
ad39bb92dd
code cleanup
10 years ago
joeybloggs
6ffa5d1455
add thread safety note to AddFunction and SetTag functions
10 years ago
joeybloggs
8c2248a5ce
add map thread safety
10 years ago
joeybloggs
0c5fbee316
code cleanup + variable renaming
...
restructure fieldWithNameAndSingleTag for speed + less allocations
10 years ago
joeybloggs
e4f2ff67bd
add caching of field only tags, now less time, memory and only 2 allocations vs 9
10 years ago
joeybloggs
22d031deb0
add struct caching, significant speedup even in a simple test
...
NOTE: validating a single fields speed however was reduced and more memory allocations, need to correct this before marking caching as complete.
10 years ago