From ad86a3b46b1adb0c200478fcb1e96dfe61fabe9c Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 22 Jun 2021 21:11:59 +0200 Subject: [PATCH] fix: mispells --- builder.go | 2 +- validator/int_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/builder.go b/builder.go index f737aae..63cf5a9 100644 --- a/builder.go +++ b/builder.go @@ -20,7 +20,7 @@ type Builder struct { middlewares []func(http.Handler) http.Handler // custom middlewares only wrapping the service handler of a request // they will benefit from the request's context that contains service-specific - // information (e.g. required permisisons from the configuration) + // information (e.g. required permissions from the configuration) ctxMiddlewares []func(http.Handler) http.Handler } diff --git a/validator/int_test.go b/validator/int_test.go index b99afea..dc688fd 100644 --- a/validator/int_test.go +++ b/validator/int_test.go @@ -84,7 +84,7 @@ func TestInt_Values(t *testing.T) { {uint(math.MaxInt64 + 1), false}, {float64(math.MinInt64), true}, - // we cannot just substract 1 because of how precision works + // we cannot just subtract 1 because of how precision works {float64(math.MinInt64 - 1024 - 1), false}, // WARNING : this is due to how floats are compared