feat : update actions gen

This commit is contained in:
zhangwenjian committed 2020-09-10 02:14:48 +08:00
1 parent aaba20d42a
commit fa07a57d22
14 files changed
+160 -112

No files matched your search

+4 -1
View File
@@ -34,7 +34,10 @@ func FileCreate(content bytes.Buffer, name string) {
if err != nil {
log.Println(err)
}
file.WriteString(content.String())
_, err = file.WriteString(content.String())
if err != nil {
log.Println(err)
}
//for i := 0; i < len(content); i++ {
// //写入byte的slice数据
// file.Write(content)