joeybloggs
387cfe5aa9
Complete adding StructPartial and StructExcept
...
for issue-#149
9 years ago
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
9 years ago
joeybloggs
4a8a489366
Merge remote-tracking branch 'upstream/v7-development' into merge
9 years ago
Dean Karn
305c50fb58
Merge pull request #153 from bluesuncorp/v6
...
Merge latest changes into v7-development
9 years ago
Dean Karn
6df82fdf49
Merge pull request #152 from bluesuncorp/v6-development
...
Updated Panic Tests after updates to assertion library
9 years ago
Dean Karn
8a9ed1f107
Merge pull request #151 from joeybloggs/v6-development
...
Updated Panic Tests after updates to assertion library
9 years ago
joeybloggs
844f5f46f7
Updated Panic Tests after updates to assertion library
9 years ago
joeybloggs
8ae139a445
Partially Merged in Partial struct methods + Tests
9 years ago
joeybloggs
3697be93be
update benchmarks, pretty much the same
9 years ago
joeybloggs
8ff687aae4
code cleanup
9 years ago
joeybloggs
1fbc384272
Complete test coverage for gecsfield, gtecsfield, ltcsfield and ltecsfield
9 years ago
joeybloggs
327aa2e826
Add gtcsfield, gtecsfield, ltcsfield and ltecsfield
9 years ago
joeybloggs
cd50c5e085
Added necsfield method + tests
9 years ago
joeybloggs
3a0791591a
Add cross struct map support for all types not just string
9 years ago
joeybloggs
4cbf0659ce
convert isLtField & isLteField to use new functions + test coverage
9 years ago
joeybloggs
5989727cf7
complete test coverage for IsGteField after conversion
9 years ago
joeybloggs
8aea478060
Update isGtField to user new functions
9 years ago
joeybloggs
2fe52ca08f
finish eqcsfield + test coverage
9 years ago
joeybloggs
d19088f865
Code Cleanup + some renaming
9 years ago
joeybloggs
81e29d3724
Complete Test Cases for getStructFieldOK
9 years ago
joeybloggs
2ea9043764
update to handle nested map + Array + Slice structs
9 years ago
joeybloggs
3ab458c80c
Updates
...
Split out Type checking.
Add Cross Field determination function for future automatic cross struct
namespace field validation.
9 years ago
Dean Karn
c62ee7ccdf
Merge pull request #148 from bluesuncorp/v6-development
...
Minor code cleanup no functional changes
10 years ago
Dean Karn
494e1360ec
Merge pull request #147 from joeybloggs/v6-development
...
minor code cleanup, no functional changes
10 years ago
joeybloggs
50f0798342
Run gofmt -s -w . on code
...
code cleanup, only a few changes.
10 years ago
Dean Karn
0cd5e89c38
Merge pull request #146 from bluesuncorp/v6-development
...
Add Exists Tag
10 years ago
Dean Karn
3f5b785707
Merge pull request #144 from joeybloggs/v6-development
...
Add exists tag
10 years ago
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.
10 years ago
Dean Karn
f8fd45620a
Update README.md
...
update semaphore badge to production after merge
10 years ago
Dean Karn
a13509df8f
Merge pull request #141 from bluesuncorp/v6-development
...
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
10 years ago
Dean Karn
442b210016
Merge pull request #140 from joeybloggs/v6-development
...
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
10 years ago
joeybloggs
d2ea21ad15
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
...
Thanks @johnniedoe for ths pull request!
10 years ago
Kevin Harrington
7c844893e1
Added RegisterCustomTypeFunc method and usage example.
10 years ago
joeybloggs
048d7b8100
Merge branch 'v6-development' into v6
10 years ago
Dean Karn
32910f84c4
Merge pull request #137 from joeybloggs/v6-development
...
Update simple.go file && README
10 years ago
joeybloggs
6a8ed5612a
Update simple.go file && README
10 years ago
Dean Karn
790122c21c
Update simple.go
...
tmp blank out of file
10 years ago
Dean Karn
d802346da4
Merge pull request #136 from bluesuncorp/v6-development
...
V6 development
10 years ago
Dean Karn
a05046f9e7
Merge pull request #135 from joeybloggs/v6-development
...
Add handling of custom types
10 years ago
joeybloggs
d363ed316c
Add handling of custom types
...
can add custom type handling, example: sql driver Valuer
can override any base data type like string or int ( I'd be carefull about that, but you can )
10 years ago
Dean Karn
55e8c8d9ca
Merge pull request #129 from bluesuncorp/v6-development
...
Add ip, ipv4, ipv6 and mac validators
10 years ago
Dean Karn
a7e8a12f07
Merge pull request #128 from joeybloggs/v6-development
...
Add ip, ipv4, ipv6 and mac validators
10 years ago
joeybloggs
143b21eba1
Add mac validator
10 years ago
joeybloggs
bd16331fc0
Add ip, ipv4 and ipv6 validators
10 years ago
Dean Karn
c0001173ee
Merge pull request #127 from bluesuncorp/v6-development
...
Update Required & Invalid logic
10 years ago
Dean Karn
a56318009b
Merge pull request #126 from joeybloggs/v6-development
...
Update Required & Invalid logic
10 years ago
joeybloggs
e078205c78
Update Required & Invalid logic
...
updated required validator to check for a nil value for types:
slice, map, pointer, interface, channel and function.
updated tranverseField to handle invalid field type.
Changes to be committed:
modified: baked_in.go
modified: doc.go
modified: validator.go
modified: validator_test.go
10 years ago
Dean Karn
54927e92d9
Merge pull request #124 from bluesuncorp/v6-development
...
Slit out assertion funcs. & add single field validation example
10 years ago
Dean Karn
f4625158e0
Merge pull request #123 from joeybloggs/v6-development
...
Add single Field validation example
10 years ago
joeybloggs
ea0db1fa47
Add single Field validation example
10 years ago