Rename ByteSize to ReadableSize

This commit is contained in:
0ko 2024-03-31 20:17:12 +05:00 committed by GitHub
parent d2cd1342bf
commit 470886bf52
4 changed files with 10 additions and 9 deletions

View file

@ -31,8 +31,8 @@ func (l MockLocale) TrN(cnt any, key1, keyN string, args ...any) template.HTML {
return template.HTML(key1)
}
func (l MockLocale) TrSize(s int64) ByteSize {
return ByteSize{fmt.Sprint(s), ""}
func (l MockLocale) TrSize(s int64) ReadableSize {
return ReadableSize{fmt.Sprint(s), ""}
}
func (l MockLocale) PrettyNumber(v any) string {