Skip to content

Commit

Permalink
refactor template
Browse files Browse the repository at this point in the history
  • Loading branch information
onuragtas committed Jan 21, 2023
1 parent 898bb4b commit 6e2c87c
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 = `// Code generated by SWAG. DO NOT EDIT
// Package {{.PackageName}}
// {{ 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 6e2c87c

Please sign in to comment.