Commit graph

22 commits

Author SHA1 Message Date
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
a660c007dc update for new organization
update README, links and documentation for new organization
2015-04-09 20:38:05 -04:00
Dean Karn
1e1442d02c merge changes from Pull Request #24 from @manucorporat 2015-04-08 18:23:20 -04:00
Dean Karn
50d47f3afa Merge branch 'v4' into v4-development
Conflicts:
	doc.go
2015-04-05 21:10:36 -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
Dean Karn
622107d990 issue-#18
add “structonly” tag for struct only and not field validation
2015-03-21 13:35:17 -04:00
Dean Karn
cfea08f69d issue-#14
remove internal validator.
2015-03-11 00:11:32 -04:00
Dean Karn
edb25ac80e issue-#13
add generic cross field validation for Number and time.Time data types
2015-03-10 23:34:19 -04:00
Dean Karn
dfab3dff09 add documentation to new handling of time.Time 2015-03-10 15:23:15 -04:00
Dean Karn
191b1ce01f v2 add cross field validation ability 2015-03-06 11:38:21 -05:00
Dean Karn
ac82433503 Update to return FieldValidationError for single field validation
update to return FieldValidationError for single field validation
add Kind, Param and Value to the FieldValidationError struct to allow
for a more automated error handling api outside of this library.
2015-02-26 10:22:50 -05:00
Dean Karn
4e4a2a2b8e issue-#1
add url validation and test cases
add uri validation and test cases
2015-02-25 15:08:22 -05:00
Dean Karn
2073d33609 issue-#1
add lt validation function + test code
add lte validation function + test code
add gt validation function + test code
add get validation function + test code
2015-02-15 23:20:33 -05:00
Dean Karn
cbf8124403 issue-#7
add ‘or’ operator to allow multiple validators to be used instead of
just the implicit ‘and’
2015-02-15 10:54:06 -05:00
Dean Karn
beb87b1d05 issue-#1
add rgb color validation function + Test Code
add rgba color validation function + Test Code
add hsl color validation function + Test Code
add hula color validation function + Test Code
2015-02-15 10:03:12 -05:00
Dean Karn
dfe8a4e7fa issue-#1
add numeric validation function + Test Cases
add number validation function + Test Cases
add hexadecimal validation function + Test Cases
add hexcolor validation function + Test Cases
add email validation function + Test Cases
2015-02-14 22:16:03 -05:00
Dean Karn
e8eadfc326 issue-#1
add alpha validation function + Test code
add alphanumeric validation function + Test code
2015-02-14 21:26:15 -05:00
Dean Karn
5f9a79c2ea fix ampersand not displaying correctly 2015-02-14 14:15:19 -05:00
Dean Karn
c63f5f5a80 add to documentation 2015-02-14 14:13:34 -05:00
Dean Karn
23cff6eddb issue-#4
add documentation
2015-02-14 13:00:48 -05:00
Dean Karn
3614803628 issue-#5
add basic docs meant to be in issue-#4
2015-02-13 19:45:46 -05:00