-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Merge latest changes into v7-development #153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Update Docs. and Benchmarks
Update Docs. and Benchmarks
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 )
Add handling of custom types
V6 development
tmp blank out of file
Update simple.go file && README
Thanks @johnniedoe for ths pull request!
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.
Add exists tag
Add Exists Tag
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
pushed a commit
that referenced
this pull request
Aug 17, 2015
Merge latest changes into v7-development
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.