Skip to content

Commit

Permalink
Fix the issue that using 'goreportcard-cli -v' will output errors (#872)
Browse files Browse the repository at this point in the history
  • Loading branch information
windvalley committed Feb 6, 2021
1 parent 3d90fc0 commit 0213f4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gen/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,9 @@ func (g *Gen) writeGoDoc(packageName string, output io.Writer, swagger *spec.Swa
return err
}

var packageTemplate = `// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
var packageTemplate = `// Package {{.PackageName}} GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag{{ if .GeneratedTime }} at
// {{ .Timestamp }}{{ end }}
package {{.PackageName}}
import (
Expand Down

0 comments on commit 0213f4b

Please sign in to comment.