Commit graph

199 commits

Author SHA1 Message Date
Dean Karn
d627af88ac Merge pull request #87 from bluesuncorp/v5-development
Correct interface panic & add interface type handling
2015-06-28 21:58:27 -04:00
Dean Karn
f6358a9d49 Merge pull request #86 from joeybloggs/v5-development
Correct interface panic & add interface type handling
2015-06-28 21:56:00 -04:00
joeybloggs
c7ff296dca correct interface issue
add handling of interface validation by determining it's type

for issue #85
2015-06-28 21:51:39 -04:00
Dean Karn
740b7d0daa Merge pull request #83 from bluesuncorp/v5-development
Merge latest dive changes for slice, array and maps
2015-06-27 14:32:18 -04:00
Dean Karn
4574ba54c6 Merge pull request #82 from joeybloggs/v5-development
Merge dive logic for slice, array and map
2015-06-27 14:29:17 -04:00
joeybloggs
22aaa55c7c add dive documentation
for #78
2015-06-27 14:08:07 -04:00
joeybloggs
200a5b4aad finish map error handling & complete test coverage
for #78
2015-06-27 13:41:33 -04:00
joeybloggs
8bf793acde correct map references pointing to slice after copy/paste
for#78
2015-06-27 08:22:37 -04:00
joeybloggs
14f176e8ac add traverseMap
for #78
2015-06-26 10:18:17 -04:00
joeybloggs
98f4165fae added time test
fix issue with time.Time data type validation
2015-06-26 09:57:02 -04:00
joeybloggs
a0f6d14ada add more tests
correct pointer issue is traverseArray

for #78
2015-06-26 08:41:37 -04:00
joeybloggs
689d3e9989 finalized array error handling
for #78
2015-06-26 07:47:12 -04:00
joeybloggs
1ba858eec1 correct FieldError error printing idea issue
for #78
2015-06-26 07:38:28 -04:00
joeybloggs
6eded1f817 correct error output and index out of order error
for #78
2015-06-26 07:28:15 -04:00
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
2015-06-25 17:24:25 -04:00
joeybloggs
4afdc19aef Finish initial array traversal logic
for #78
2015-06-25 09:15:46 -04:00
joeybloggs
a3cf2f5cf3 Merge branch 'v5-development' into add-array-slice-map-dive-support 2015-06-20 12:04:41 -04:00
Dean Karn
27a1d3f158 Merge pull request #81 from bluesuncorp/v5-development
Fix Issue with nested struct as pointer being nil
2015-06-20 12:02:52 -04:00
Dean Karn
3e4207bccb Merge pull request #80 from joeybloggs/v5-development
Fix Issue with nested struct as pointer being nil
2015-06-20 11:59:34 -04:00
joeybloggs
e0e86490bf Fix Issue with nested struct as pointer being nil
for #79
2015-06-20 11:56:16 -04:00
joeybloggs
e0bfa17b22 add initial dive logic 2015-06-20 10:04:55 -04:00
Dean Karn
c06d47f593 Merge pull request #77 from bluesuncorp/v5-development
Merge new validators + godoc examples
2015-06-17 09:45:28 -04:00
Dean Karn
64eb07fa30 Merge pull request #76 from joeybloggs/v5-development
Add More Validators + Add godoc examples
2015-06-17 09:41:19 -04:00
joeybloggs
63a3b7e6ad add multibyte test case for blank string to maintain 100% test coverage 2015-06-17 09:38:48 -04:00
joeybloggs
35aff710e4 added many new validator + tests + documentation:
ascii
printascii
multibyte
datauri
latitude
longitude
ssn
2015-06-17 09:02:26 -04:00
joeybloggs
7aa70841bc add uuid, uuid3, uuid4 and uuid5 validators + tests + documentation 2015-06-17 08:03:31 -04:00
joeybloggs
20d9b7909f add isbn, isbn10 and isbn validators + tests + documentation 2015-06-16 23:22:36 -04:00
joeybloggs
05e0fe1f85 updated various regex's to remove any capturing groups 2015-06-16 22:12:36 -04:00
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.
2015-06-16 22:07:30 -04:00
joeybloggs
9ff11ae808 break out benchmarks into separate file
create examples file for better godocs
2015-06-10 22:03:57 -04:00
Dean Karn
df95f9de27 Merge pull request #71 from bluesuncorp/v5-development
V5 development
2015-06-08 21:51:25 -04:00
Dean Karn
be66dfe125 Merge pull request #70 from joeybloggs/v5-development
add call to SetMaxStructPoolSize in test to ensure continued 100% tes…
2015-06-08 21:48:28 -04:00
joeybloggs
f4837a073b add call to SetMaxStructPoolSize in test to ensure continued 100% test coverage 2015-06-08 21:46:08 -04:00
Dean Karn
ecfab4f37a Merge pull request #69 from bluesuncorp/v5-development
V5 development
2015-06-08 21:33:58 -04:00
Dean Karn
ac10117172 Merge pull request #68 from joeybloggs/v5-development
V5 development
2015-06-08 21:31:17 -04:00
joeybloggs
fcbf6b65e4 add caching pool of StructErrors to reuse objects, reduce garbage collection and reduce memory allocations
for #56
2015-06-08 21:27:00 -04:00
joeybloggs
678d778cba Merge branch 'investigate-including-comma-in-data' into v5-development 2015-06-08 20:42:48 -04:00
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
2015-06-08 20:42:16 -04:00
Dean Karn
c6a510f8a9 Merge pull request #65 from bluesuncorp/v5-development
V5 development
2015-06-08 16:52:04 -04:00
Dean Karn
d40121962a Merge pull request #64 from joeybloggs/v5-development
V5 development
2015-06-08 16:48:57 -04:00
joeybloggs
793099be40 remove trimming of param option as space could be a valid param option or char
for #63
2015-06-08 16:45:51 -04:00
Dean Karn
6ae296cb93 Update README.md
fix go get documentation, remove the -u option
2015-06-08 09:06:40 -04:00
Dean Karn
8461815c10 Merge pull request #61 from bluesuncorp/v5-development
V5 development
2015-06-08 08:47:50 -04:00
Dean Karn
3d15a126d3 Merge pull request #60 from joeybloggs/cache-struct-schema-metadata
Cache struct schema metadata
2015-06-08 08:44:02 -04:00
joeybloggs
1fda4930f6 comment out parallel benchmarks to maintain go 1.2 compatibility 2015-06-08 08:37:53 -04:00
joeybloggs
aa275c658d merge pul request changes from @xboston 2015-06-08 08:27:07 -04:00
joeybloggs
39656b5186 Merge branch 'v5-development' into cache-struct-schema-metadata 2015-06-08 08:24:16 -04:00
joeybloggs
98ee4c3a5d Merge branch 'v6-development' into v5-development 2015-06-08 08:23:40 -04:00
joeybloggs
56b4ce1811 add larger tests for benchmarks 2015-06-07 23:57:32 -04:00
joeybloggs
81ce302975 add parallel benchmark 2015-06-07 23:54:06 -04:00