From a88b432ac499e1f8daae76cf59038804cb68aa40 Mon Sep 17 00:00:00 2001 From: Trevor Sawler Date: Fri, 24 Jan 2025 15:12:25 -0400 Subject: [PATCH] Comments --- tools.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools.go b/tools.go index ac165d9..9ede94c 100644 --- a/tools.go +++ b/tools.go @@ -273,7 +273,7 @@ func (t *Tools) UploadFiles(r *http.Request, uploadDir string, rename ...bool) ( t.MaxFileSize = defaultMaxUpload } - // Parse the form, so we have access to the file. + // Parse the form, so we have access to the file. Payload is limited to MaxFileSize. err = r.ParseMultipartForm(int64(t.MaxFileSize)) if err != nil { return nil, fmt.Errorf("error parsing form data: %v", err)