git.sophuwu.com > byterate
fixed some oopsie math error uwu
parent

16e816d93525d193d8a3d00bbffc1b03e04ef65c

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bytesize.gobytesize.go

@@ -65,7 +65,7 @@ return 0, err

} s = strings.ToLower(s) if strings.HasSuffix(s, "bit") { - s = strings.TrimPrefix(s, "bit") + s = strings.TrimSuffix(s, "bit") } else { num *= 8 }