Skip to content

Commit

Permalink
[pkg/template] Fix types heading (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jylitalo authored Mar 6, 2023
1 parent c76e4e6 commit ea52093
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ var Version string // value from version.txt file

--

Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.0
Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.1

2 changes: 1 addition & 1 deletion cmd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ Default is to generate markdown from current directory.

--

Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.0
Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.1

2 changes: 1 addition & 1 deletion pkg/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ RunDirTree checks given directory and its subdirectories for golang

--

Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.0
Generated by [github.com/jylitalo/go2md](https://github.com/jylitalo/go2md/) v0.4.1

2 changes: 1 addition & 1 deletion pkg/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ This section is empty.
{{- if .Types }}
## Types
{{- range $val := .Types }}
### type {{ typeHeading $val.Name }}
### {{ typeHeading $val.Name }}

<pre>
{{ typeSection $val }}
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.0
0.4.1

0 comments on commit ea52093

Please sign in to comment.