mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 13:23:41 +00:00
docs: add example
This commit is contained in:
1 parent
01501ca857
commit
936e193c20
10 files changed
+120
-143
No files matched your search
@@ -11,6 +11,11 @@ func TestByteFmt(t *testing.T) {
|
||||
args args
|
||||
want string
|
||||
}{
|
||||
{
|
||||
name: "unknown",
|
||||
args: args{size: int64(0)},
|
||||
want: "unknown",
|
||||
},
|
||||
{
|
||||
name: "100B",
|
||||
args: args{size: int64(100)},
|
||||
|
||||
Reference in new issue
Block a user