Commit graph

145 commits

Author SHA1 Message Date
joeybloggs
0c5fbee316 code cleanup + variable renaming
restructure fieldWithNameAndSingleTag for speed + less allocations
2015-06-07 22:59:36 -04:00
joeybloggs
e4f2ff67bd add caching of field only tags, now less time, memory and only 2 allocations vs 9 2015-06-07 22:24:26 -04:00
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.
2015-06-07 21:39:21 -04:00
Dean Karn
1d61bf3148 Merge pull request #53 from bluesuncorp/v5-development
V5 development
2015-05-30 21:06:15 -04:00
Dean Karn
61e4429b20 Merge pull request #52 from joeybloggs/v5-development
V5 development
2015-05-30 21:04:07 -04:00
joeybloggs
fbb3befecb update validate struct benchmark for lager struct with nested struct 2015-05-30 21:01:11 -04:00
joeybloggs
beaa9adf31 minor performance updates
add benchmarks
2015-05-30 20:19:05 -04:00
Dean Karn
479d3f0fd9 Merge pull request #50 from bluesuncorp/v5-development
V5 development
2015-05-26 21:40:22 -04:00
Dean Karn
756455cce5 Merge pull request #49 from joeybloggs/change-to-native-golang-testing
Change to native golang testing
2015-05-26 21:36:59 -04:00
joeybloggs
e5c73961c7 finish test conversion 2015-05-26 21:29:51 -04:00
joeybloggs
ae2d0646af add more checks to IsEqual function 2015-05-26 10:27:07 -04:00
joeybloggs
e0b68a7520 initial commit of helper functions 2015-05-26 09:16:58 -04:00
Dean Karn
07cbdd2e6d Merge pull request #46 from bluesuncorp/v5-development
V5 development
2015-05-22 22:33:24 -04:00
Dean Karn
5ab4925073 Merge pull request #45 from joeybloggs/v5-development
V5 development
2015-05-22 22:32:29 -04:00
joeybloggs
3dcc019b64 add contains, contains any, contains rune, excludes, excludes and excludesrune validation functions + tests + docuemtation
for #43
2015-05-22 22:28:40 -04:00
joeybloggs
9d18657e1f remove extra carriage returns
for #44
2015-05-22 20:22:18 -04:00
joeybloggs
fd059fe2f1 remove unnecessary carriage returns
for #44
2015-05-22 20:17:32 -04:00
Dean Karn
63658537be Merge pull request #41 from bluesuncorp/v5
Merge pull request #40 from bluesuncorp/v5-development
2015-05-19 15:46:42 -04:00
Dean Karn
d780b124a9 Merge pull request #40 from bluesuncorp/v5-development
V5 development
2015-05-19 15:35:41 -04:00
Dean Karn
ee35a115e9 Merge pull request #39 from joeybloggs/v5-development
V5 development
2015-05-19 15:33:08 -04:00
joeybloggs
f7f779fb31 add documentation for ne and nefield validation function
#38
2015-05-19 15:29:26 -04:00
joeybloggs
23c3fa6b63 add ne and nefield functions to validator 2015-05-19 15:20:34 -04:00
Dean Karn
74d0e52ab3 Update README.md
update branch url for travis ci
2015-05-08 12:10:16 -04:00
Dean Karn
73747bdf83 Merge pull request #37 from bluesuncorp/v5-development
V5 development
2015-05-08 12:03:15 -04:00
Dean Karn
1a0a2f52c4 Merge pull request #36 from joeybloggs/v5-development
add eq baked in function + tests
2015-05-08 12:02:01 -04:00
joeybloggs
b891b1cf3c add eq baked in function + tests
add eqfield baked in function + tests

for issue #35
2015-05-08 11:59:48 -04:00
Dean Karn
4e9461558c Update README.md 2015-04-19 10:40:32 -04:00
Dean Karn
fa8e0664b2 Merge pull request #33 from bluesuncorp/v5-development
V5 development
2015-04-19 10:33:06 -04:00
Dean Karn
765fb71956 Merge pull request #32 from joeybloggs/v5-development
V5 development
2015-04-19 10:23:47 -04:00
Dean Karn
e530eb5470 add documentation for new base64 validator 2015-04-19 10:21:03 -04:00
Dean Karn
1d008b4ad2 add base64 validate as requested in issue #30 2015-04-19 10:13:14 -04:00
Dean Karn
4c73ffba66 update verbiage after pull request 2015-04-19 09:27:13 -04:00
Dean Karn
d400cda52e Merge pull request #31 from muyiwaolurin/v5-development
Minor typos
2015-04-19 09:17:08 -04:00
Anthony Olurin
700e5f4b46 Minor typos
- Changes made to documentation and ReadME.
2015-04-19 00:01:15 -04:00
Dean Karn
829b13775f Update validator_test.go 2015-04-10 00:44:48 -04:00
Dean Karn
04b0ff368d Update README.md 2015-04-10 00:42:52 -04:00
Dean Karn
42419864c0 Merge pull request #29 from joeybloggs/v5
update test import path
2015-04-10 00:37:20 -04:00
Dean Karn
d474ce1ce6 update test import path 2015-04-10 00:36:46 -04:00
Dean Karn
9d1ffaeb87 Merge pull request #28 from joeybloggs/v5
changes in preparation for package rename to validator
2015-04-10 00:31:41 -04:00
Dean Karn
7ac98be692 changes in preparation for package rename to validator
update code for more idiomatic code
2015-04-10 00:30:30 -04:00
Dean Karn
47a6634ff8 Merge pull request #26 from joeybloggs/v4
update for new organization
2015-04-09 20:40:26 -04:00
Dean Karn
a660c007dc update for new organization
update README, links and documentation for new organization
2015-04-09 20:38:05 -04:00
Dean Karn
10c0bd95ae Merge pull request #25 from joeybloggs/v4-development
V4 development
2015-04-08 18:27:44 -04:00
Dean Karn
1e1442d02c merge changes from Pull Request #24 from @manucorporat 2015-04-08 18:23:20 -04:00
Dean Karn
6856240ff0 Merge pull request #23 from joeybloggs/v4
Merge pull request #22 from joeybloggs/v4-development
2015-04-06 08:45:57 -04:00
Dean Karn
130dcba7a5 Merge pull request #22 from joeybloggs/v4-development
V4 development
2015-04-05 21:10:45 -04:00
Dean Karn
50d47f3afa Merge branch 'v4' into v4-development
Conflicts:
	doc.go
2015-04-05 21:10:36 -04:00
Dean Karn
c35b32d4bc Merge pull request #21 from chrisscott/v4-development
Update docs with correct code to instantiate a new validator.
2015-04-05 13:04:48 -04:00
Chris Scott
0d078a658d Update docs with correct code to instantiate a new validator. 2015-04-05 12:22:14 -04:00
Dean Karn
a3cb430fa1 issue-#20
add extra param of current struct.
2015-03-23 10:57:45 -04:00