Skip to content

Commit

Permalink
minor change in one comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Umang01-hash committed Nov 20, 2024
1 parent 236a2a1 commit 10850f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/gofr/http/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 10850f6

Please sign in to comment.