質問編集履歴
1
コード誤りを修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
|
10
10
|
```go
|
11
11
|
func (c *fileRepository) ZipFromCSVInfos(ctx context.Context, yyyymmdd string, csvInfos []*csv.Info) error {
|
12
|
-
buf := new(
|
12
|
+
buf := new(bytes.Buffer)
|
13
13
|
zipWriter := zip.NewWriter(buf)
|
14
14
|
defer zipWriter.Close()
|
15
15
|
|