From 898bb4bb37c438093d9f515437396e688e9fe30a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20A=C4=9Fta=C5=9F?= Date: Thu, 19 Jan 2023 02:38:42 +0300 Subject: [PATCH] bugfix. --- gen/gen.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gen/gen.go b/gen/gen.go index ff7056c14..1414ba551 100644 --- a/gen/gen.go +++ b/gen/gen.go @@ -451,8 +451,7 @@ func (g *Gen) writeGoDoc(packageName string, output io.Writer, swagger *spec.Swa var packageTemplate = `// Code generated by SWAG. DO NOT EDIT // Package {{.PackageName}} -// This file was generated by swaggo/swag{{ if .GeneratedTime }} at -// {{ .Timestamp }}{{ end }} +// {{ if .GeneratedTime }} at {{ .Timestamp }}{{ end }} package {{.PackageName}} import "github.com/swaggo/swag"