Commit graph

353 commits

Author SHA1 Message Date
Dean Karn
ca7facef9c Update README.md
update v6 accidentally left in README example to v7
2015-08-19 21:38:05 -04:00
Dean Karn
9a7e605915 Update README.md
update coverage badge
2015-08-19 20:44:25 -04:00
Dean Karn
8146ec40c7 Merge pull request #162 from joeybloggs/v7-development
Update benchmarks + old external v6 references to v7
2015-08-19 20:39:05 -04:00
joeybloggs
77751ca042 update external references from v6 to v7 2015-08-19 20:36:40 -04:00
joeybloggs
4ab8352362 update benchmarks after nefield + necsfield changes 2015-08-19 20:34:58 -04:00
Dean Karn
95213db264 Update README.md
Update  CI badge to v7-development branch
2015-08-19 20:27:56 -04:00
Dean Karn
d423756cc0 Merge pull request #161 from joeybloggs/v7-development
Changes for v7
2015-08-19 20:25:35 -04:00
joeybloggs
ce06c47267 rename some variable for clarity 2015-08-19 20:22:26 -04:00
joeybloggs
43d7f25cfb update nefield and necsfield to hav own logic instead of calling !eqfield... 2015-08-19 20:17:28 -04:00
joeybloggs
55f9e44ce5 Update benchmarks for new go 1.5! 2015-08-19 17:06:19 -04:00
joeybloggs
15fdf82c30 Update verbiage for unique features for v7 cross struct cross field validation tags. 2015-08-19 13:32:32 -04:00
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
2015-08-19 13:29:24 -04:00
Dean Karn
19d8904f2c Merge pull request #157 from joeybloggs/v6-development
Backport v7 updates
2015-08-19 13:08:03 -04:00
joeybloggs
14b90946b3 Backport v7 updates
backporting v7 updates for the near released v7.
2015-08-19 13:05:04 -04:00
joeybloggs
d7b348e4b3 Merge branch 'v6-development' into v7-development 2015-08-19 08:49:13 -04:00
Dean Karn
b5317c5c5c Update examples_test.go
Backport change to update import path from pull request #155
2015-08-19 08:47:31 -04:00
joeybloggs
7757a227ed Add benchmark for StructExcept 2015-08-18 22:14:28 -04:00
joeybloggs
883731a774 Updates + Benchmarks
update documentation.
add benchmarks for StructPartial, dive tag, cross field and cross struct cross field.
2015-08-18 22:10:26 -04:00
joeybloggs
4f46e02133 Add documentation for cross struct validation tags + Struct Partials 2015-08-18 21:10:40 -04:00
joeybloggs
387cfe5aa9 Complete adding StructPartial and StructExcept
for issue-#149
2015-08-17 13:18:28 -04:00
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
2015-08-17 09:05:20 -04:00
joeybloggs
4a8a489366 Merge remote-tracking branch 'upstream/v7-development' into merge 2015-08-17 08:34:09 -04:00
Dean Karn
305c50fb58 Merge pull request #153 from bluesuncorp/v6
Merge latest changes into v7-development
2015-08-17 08:32:40 -04:00
Dean Karn
6df82fdf49 Merge pull request #152 from bluesuncorp/v6-development
Updated Panic Tests after updates to assertion library
2015-08-17 08:29:44 -04:00
Dean Karn
8a9ed1f107 Merge pull request #151 from joeybloggs/v6-development
Updated Panic Tests after updates to assertion library
2015-08-17 08:28:46 -04:00
joeybloggs
844f5f46f7 Updated Panic Tests after updates to assertion library 2015-08-17 08:27:13 -04:00
joeybloggs
8ae139a445 Partially Merged in Partial struct methods + Tests 2015-08-17 07:37:05 -04:00
joeybloggs
3697be93be update benchmarks, pretty much the same 2015-08-16 21:23:51 -04:00
joeybloggs
8ff687aae4 code cleanup 2015-08-16 21:17:00 -04:00
joeybloggs
1fbc384272 Complete test coverage for gecsfield, gtecsfield, ltcsfield and ltecsfield 2015-08-16 21:12:26 -04:00
joeybloggs
327aa2e826 Add gtcsfield, gtecsfield, ltcsfield and ltecsfield 2015-08-16 15:59:05 -04:00
joeybloggs
cd50c5e085 Added necsfield method + tests 2015-08-16 15:37:47 -04:00
joeybloggs
3a0791591a Add cross struct map support for all types not just string 2015-08-16 10:26:30 -04:00
joeybloggs
4cbf0659ce convert isLtField & isLteField to use new functions + test coverage 2015-08-14 21:41:25 -04:00
joeybloggs
5989727cf7 complete test coverage for IsGteField after conversion 2015-08-14 21:31:16 -04:00
joeybloggs
8aea478060 Update isGtField to user new functions 2015-08-14 21:19:41 -04:00
joeybloggs
2fe52ca08f finish eqcsfield + test coverage 2015-08-14 21:02:01 -04:00
joeybloggs
d19088f865 Code Cleanup + some renaming 2015-08-14 09:06:52 -04:00
joeybloggs
81e29d3724 Complete Test Cases for getStructFieldOK 2015-08-14 08:43:54 -04:00
joeybloggs
2ea9043764 update to handle nested map + Array + Slice structs 2015-08-14 00:28:37 -04:00
joeybloggs
3ab458c80c Updates
Split out Type checking.
Add Cross Field determination function for future automatic cross struct
namespace field validation.
2015-08-13 23:47:19 -04:00
Dean Karn
c62ee7ccdf Merge pull request #148 from bluesuncorp/v6-development
Minor code cleanup no functional changes
2015-08-03 23:04:09 -04:00
Dean Karn
494e1360ec Merge pull request #147 from joeybloggs/v6-development
minor code cleanup, no functional changes
2015-08-03 23:03:34 -04:00
joeybloggs
50f0798342 Run gofmt -s -w . on code
code cleanup, only a few changes.
2015-08-03 22:53:08 -04:00
Dean Karn
0cd5e89c38 Merge pull request #146 from bluesuncorp/v6-development
Add Exists Tag
2015-08-03 21:34:45 -04:00
Dean Karn
3f5b785707 Merge pull request #144 from joeybloggs/v6-development
Add exists tag
2015-08-03 21:32:09 -04:00
joeybloggs
7e97fcf2c4 Add exists tag
exists tag used to ensure that a Pointer, Interface or
Invalid has a value, but won't interfere with any other validation.
2015-08-03 20:47:11 -04:00
Dean Karn
f8fd45620a Update README.md
update semaphore badge to production after merge
2015-08-01 21:00:31 -04:00
Dean Karn
a13509df8f Merge pull request #141 from bluesuncorp/v6-development
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
2015-08-01 20:59:16 -04:00
Dean Karn
442b210016 Merge pull request #140 from joeybloggs/v6-development
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
2015-08-01 20:58:10 -04:00