Removing unneeded comments

This commit is contained in:
DmitryFrolovTri
2023-06-07 17:24:52 +00:00
parent 851c988386
commit 649da240b2
2 changed files with 3 additions and 38 deletions
-3
View File
@@ -138,9 +138,6 @@ func CreateTimeLimitCode(data string, minutes int, startInf interface{}) string
// FileSize calculates the file size and generate user-friendly string.
func FileSize(s int64) string {
// sizes := []string{"B", "kB", "MB", "GB", "TB", "PB", "EB"}
// return humanize.humanateBytes(uint64(s), 1000, sizes)
// return humanize.Bytes(uint64(s))
return humanize.IBytes(uint64(s))
}