Skip to content

Commit

Permalink
Remove empty line between generated struct and its comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lukyth authored and kujtimiihoxha committed Sep 8, 2017
1 parent 4be0ea8 commit 8f43b22
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 61 deletions.
118 changes: 59 additions & 59 deletions templates/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions templates/tmpl/partials/struct.tmpl
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
{{if ne .Comment ""}}{{.Comment}}
{{end}}type {{.Name}} struct { {{range $i,$v := .Vars}}
{{if ne .Comment ""}}{{.Comment}}{{end}}type {{.Name}} struct { {{range $i,$v := .Vars}}
{{$v.Name}} {{$v.Type}}{{end}} }

0 comments on commit 8f43b22

Please sign in to comment.