From 3499e730cb974f02090a7059339e6a138c11fbf4 Mon Sep 17 00:00:00 2001 From: Kenneth Kouot Date: Tue, 21 Jun 2016 16:50:52 -0700 Subject: [PATCH 1/2] Fix typo: ne is validation key for not equal --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index c351a61..b94efe0 100644 --- a/doc.go +++ b/doc.go @@ -284,7 +284,7 @@ For strings & numbers, eq will ensure that the value is not equal to the parameter given. For slices, arrays, and maps, validates the number of items. - Usage: eq=10 + Usage: ne=10 Greater Than From 719d0b12ee5ef707be94e21b71f42b0c2dfd76d3 Mon Sep 17 00:00:00 2001 From: Kenneth Kouot Date: Tue, 21 Jun 2016 17:11:27 -0700 Subject: [PATCH 2/2] Fix another typo: eq to ne --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index b94efe0..90b129a 100644 --- a/doc.go +++ b/doc.go @@ -280,7 +280,7 @@ validates the number of items. Not Equal -For strings & numbers, eq will ensure that the value is not +For strings & numbers, ne will ensure that the value is not equal to the parameter given. For slices, arrays, and maps, validates the number of items.