From 34270dfea0d561a5bf82fa9b8381587650ed20b1 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Sat, 16 Mar 2024 18:34:49 +0100 Subject: [PATCH] Update formatting. --- main.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.go b/main.go index af75509..f506920 100644 --- a/main.go +++ b/main.go @@ -132,10 +132,10 @@ func Files(c echo.Context) error { } if match { - out := "" - for _, f := range filelist { - out += f.Name() + "\n" - } + out := "" + for _, f := range filelist { + out += f.Name() + "\n" + } return c.String(http.StatusOK, out) } @@ -228,7 +228,7 @@ func Upload(c echo.Context) error { return c.String(http.StatusOK, fileUrl) } - return c.HTML(http.StatusOK, "File uploaded at url: " + fileUrl + "") + return c.HTML(http.StatusOK, "File uploaded at url: "+fileUrl+"") } func Delete(c echo.Context) error {