赞
踩
f, err := os.Create("path") if err != nil { panic(err) } defer f.Close() _, _ = f.WriteString("\xEF\xBB\xBF") wr := csv.NewWriter(f) _ = wr.Write([]stri