Skip to content

Commit

Permalink
gocritic comment should match error bugfix. (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
onuragtas authored Jan 25, 2023
1 parent 1789c00 commit 7433f87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,7 @@ func (g *Gen) writeGoDoc(packageName string, output io.Writer, swagger *spec.Swa
return err
}

var packageTemplate = `// Package {{.PackageName}} GENERATED BY SWAG; DO NOT EDIT
// This file was generated by swaggo/swag{{ if .GeneratedTime }} at
// {{ .Timestamp }}{{ end }}
var packageTemplate = `// Code generated by swaggo/swag{{ if .GeneratedTime }} at {{ .Timestamp }}{{ end }}. DO NOT EDIT
package {{.PackageName}}
import "github.com/swaggo/swag"
Expand Down

0 comments on commit 7433f87

Please sign in to comment.