Remove file size format for directories in folder table
1 files changed, 1 insertions(+), 1 deletions(-) M helper_functions.go
M helper_functions.go +1 -1
@@ 23,7 23,7 @@ func displayFolder(c echo.Context, path for _, file := range files { lastModified := file.ModTime().Format("Mon Jan _2 15:04:05 2006") if file.IsDir() { - table.Append([]string{"DIR", file.Name(), ByteCountSI(file.Size()), lastModified}) + table.Append([]string{"DIR", file.Name(), "", lastModified}) } else { table.Append([]string{"FILE", file.Name(), ByteCountSI(file.Size()), lastModified}) }