Skip to content

Commit

Permalink
fix: generated doc.go first line cmt leading dot (#1480)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpsigor authored Mar 20, 2023
1 parent 9dbff61 commit 9e4a292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func (g *Gen) writeGoDoc(packageName string, output io.Writer, swagger *spec.Swa
return err
}

var packageTemplate = `// Code generated by swaggo/swag{{ if .GeneratedTime }} at {{ .Timestamp }}{{ end }}. DO NOT EDIT
var packageTemplate = `// Code generated by swaggo/swag{{ if .GeneratedTime }} at {{ .Timestamp }}{{ end }}. DO NOT EDIT.
package {{.PackageName}}
Expand Down

0 comments on commit 9e4a292

Please sign in to comment.