style: 更新mod依赖

This commit is contained in:
TsMask
2025-02-27 19:35:04 +08:00
parent 2c6ad22bf2
commit 53a3e73946
6 changed files with 22 additions and 66 deletions

View File

@@ -14,7 +14,7 @@ import (
// data := [][]string{}
// data = append(data, []string{"姓名", "年龄", "城市"})
// data = append(data, []string{"1", "2", "3"})
// err := file.WriterCSVFile(data, filePath)
// err := file.WriterFileCSV(data, filePath)
func WriterFileCSV(data [][]string, filePath string) error {
// 创建本地输出目录
if err := os.MkdirAll(filepath.Dir(filePath), 0775); err != nil {