Skip to content

Commit

Permalink
Fix the goreportcard-cli output error (#872) (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
windvalley authored Feb 16, 2021
1 parent 3d90fc0 commit b69dfd8
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 b69dfd8

Please sign in to comment.