From 10850f61c5c6c363c2d1b9ebb982f911d070f087 Mon Sep 17 00:00:00 2001 From: umang01-hash Date: Wed, 20 Nov 2024 15:24:48 +0530 Subject: [PATCH] minor change in one comment --- pkg/gofr/http/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gofr/http/request.go b/pkg/gofr/http/request.go index 445f3c6d9..cf68acf0f 100644 --- a/pkg/gofr/http/request.go +++ b/pkg/gofr/http/request.go @@ -163,7 +163,7 @@ func (r *Request) bindForm(ptr any, isMultipart bool) error { // bindBinary handles binding for binary/octet-stream content type. func (r *Request) bindBinary(raw interface{}) error { - // Ensure i is a pointer to a byte slice + // Ensure raw is a pointer to a byte slice byteSlicePtr, ok := raw.(*[]byte) if !ok { return fmt.Errorf("%w: %v", errNonSliceBind, raw)