Update template.go

This commit is contained in:
kuoi 2022-01-18 14:13:44 +00:00 committed by GitHub
parent e3ac3ca373
commit c8b20f6976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ func do_impl(last_data tmpl_data) {
defer new_file.Close() defer new_file.Close()
// 写入 nex 模板 // 写入 nex 模板
// write the nex data // write the nex data, last data is the inputed data
err = nex_tmpl.Execute(new_file, last_data) err = nex_tmpl.Execute(new_file, last_data)
if err != nil { if err != nil {
fmt.Println("[ err at tmpl exec ]", err) fmt.Println("[ err at tmpl exec ]", err)