feat: add copy file to local

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-04-17 16:42:36 +08:00
parent 46f2610a0a
commit dc06b1d69b
18 changed files with 83 additions and 258 deletions
+2 -2
View File
@@ -6,9 +6,9 @@ import (
)
func TestNewOutPutter(t *testing.T) {
out := NewOutPutter("json")
out := New("json")
if out == nil {
t.Error("NewOutPutter() returned nil")
t.Error("New() returned nil")
}
f, err := out.CreateFile("results", "test.json")
if err != nil {