From 7cd869b08337a6f8440a0cdd9fa3632b69178ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ellison=20Lea=CC=83o?= Date: Wed, 1 Feb 2017 21:49:51 -0200 Subject: [PATCH] fix small doc typo --- doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.go b/doc.go index 9c7d666..1d07445 100644 --- a/doc.go +++ b/doc.go @@ -222,7 +222,7 @@ ensures the value is not nil. Length -For numbers, max will ensure that the value is +For numbers, length will ensure that the value is equal to the parameter given. For strings, it checks that the string length is exactly that number of characters. For slices, arrays, and maps, validates the number of items.