Update template.go
This commit is contained in:
parent
e3ac3ca373
commit
c8b20f6976
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue