Skip to content

Conversation

@deankarn
Copy link
Contributor

No description provided.

joeybloggs and others added 30 commits July 23, 2015 12:30
Split out benchmarks into Success and Failure for more realistic numbers.
I was validating 2 structs within the benchmarks, both a Successful and
Failing struct which was artificially inflating the numbers.
split our assertion functions like IsEqual, Equal, NotEqual, PanicMatches etc...
into another library https://github.com/bluesuncorp/assert so that I can use them
in other projects.
Split out assertions and put in external repo
Add single Field validation example
Slit out assertion funcs. & add single field validation example
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
Update Required & Invalid logic
Update Required & Invalid logic
Add ip, ipv4, ipv6 and mac validators
Add ip, ipv4, ipv6 and mac validators
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 )
tmp blank out of file
Update simple.go file && README
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
Add RegisterCustomTypeFunc for easier adding of CustomTypeFunc
update semaphore badge to production after merge
exists tag used to ensure that a Pointer, Interface or
Invalid has a value, but won't interfere with any other validation.
Dean Karn and others added 7 commits August 3, 2015 21:34
code cleanup, only a few changes.
minor code cleanup, no functional changes
Minor code cleanup no functional changes
Updated Panic Tests after updates to assertion library
Updated Panic Tests after updates to assertion library
@deankarn deankarn self-assigned this Aug 17, 2015
deankarn pushed a commit that referenced this pull request Aug 17, 2015
Merge latest changes into v7-development
@deankarn deankarn merged commit 305c50f into v7-development Aug 17, 2015
fairyhunter13 added a commit to fairyhunter13/validator that referenced this pull request Jul 12, 2020
Merge latest changes into v7-development
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants