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
joeybloggs
143b21eba1
Add mac validator
10 years ago
joeybloggs
bd16331fc0
Add ip, ipv4 and ipv6 validators
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
joeybloggs
a5d0ef37b8
update doc.go, some v5 specific notes were left.
10 years ago
joeybloggs
41b4a43989
Updated documentation for new v6
10 years ago
joeybloggs
92bd6b335a
code cleanup
...
for #88
10 years ago
joeybloggs
22aaa55c7c
add dive documentation
...
for #78
10 years ago
joeybloggs
35aff710e4
added many new validator + tests + documentation:
...
ascii
printascii
multibyte
datauri
latitude
longitude
ssn
10 years ago
joeybloggs
7aa70841bc
add uuid, uuid3, uuid4 and uuid5 validators + tests + documentation
10 years ago
joeybloggs
20d9b7909f
add isbn, isbn10 and isbn validators + tests + documentation
10 years ago
joeybloggs
0fbc3228e8
rework code to allow handling of comma (,) and = within the params i.e. excludesall=,=
...
add test cases for comma and = validation within params
add documentation stating how to include a comma within the parameters
for #67
10 years ago
joeybloggs
aa275c658d
merge pul request changes from @xboston
10 years ago
Nikolay Kirsh
c09c7a1231
fix UserDetail type
10 years ago
joeybloggs
3dcc019b64
add contains, contains any, contains rune, excludes, excludes and excludesrune validation functions + tests + docuemtation
...
for #43
10 years ago
joeybloggs
f7f779fb31
add documentation for ne and nefield validation function
...
#38
10 years ago
joeybloggs
b891b1cf3c
add eq baked in function + tests
...
add eqfield baked in function + tests
for issue #35
10 years ago
Dean Karn
e530eb5470
add documentation for new base64 validator
10 years ago
Anthony Olurin
700e5f4b46
Minor typos
...
- Changes made to documentation and ReadME.
10 years ago
Dean Karn
7ac98be692
changes in preparation for package rename to validator
...
update code for more idiomatic code
10 years ago
Dean Karn
a660c007dc
update for new organization
...
update README, links and documentation for new organization
10 years ago
Dean Karn
1e1442d02c
merge changes from Pull Request #24 from @manucorporat
10 years ago
Chris Scott
0d078a658d
Update docs with correct code to instantiate a new validator.
10 years ago
Dean Karn
a3cb430fa1
issue-#20
...
add extra param of current struct.
10 years ago
Dean Karn
622107d990
issue-#18
...
add “structonly” tag for struct only and not field validation
10 years ago
Dean Karn
cfea08f69d
issue-#14
...
remove internal validator.
10 years ago
Dean Karn
edb25ac80e
issue-#13
...
add generic cross field validation for Number and time.Time data types
10 years ago
Dean Karn
dfab3dff09
add documentation to new handling of time.Time
10 years ago
Dean Karn
191b1ce01f
v2 add cross field validation ability
10 years ago
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.
10 years ago
Dean Karn
4e4a2a2b8e
issue-#1
...
add url validation and test cases
add uri validation and test cases
10 years ago
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
10 years ago
Dean Karn
cbf8124403
issue-#7
...
add ‘or’ operator to allow multiple validators to be used instead of
just the implicit ‘and’
10 years ago
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
10 years ago
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
10 years ago
Dean Karn
e8eadfc326
issue-#1
...
add alpha validation function + Test code
add alphanumeric validation function + Test code
10 years ago
Dean Karn
5f9a79c2ea
fix ampersand not displaying correctly
10 years ago
Dean Karn
c63f5f5a80
add to documentation
10 years ago
Dean Karn
23cff6eddb
issue-#4
...
add documentation
10 years ago
Dean Karn
3614803628
issue-#5
...
add basic docs meant to be in issue-#4
10 years ago