Skip to content

Commit b330375

Browse files
committed
fix: update template execution in other.md.go to use correct data structure
Signed-off-by: cuisongliu <cuisongliu@qq.com>
1 parent 8afabf8 commit b330375

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generator/markdown/other.md.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (r *other) Generator(dir string) error {
6969
}
7070
}
7171
t := template.Must(template.New("markdown").Parse(otherTemplate))
72-
err = t.Execute(f, r)
72+
err = t.Execute(f, td)
7373
if err != nil {
7474
return err
7575
}

0 commit comments

Comments
 (0)