From aa3b98ef15b746c5540a51b733929bfd034910dd Mon Sep 17 00:00:00 2001 From: widmogrod Date: Fri, 10 Nov 2023 15:26:24 +0100 Subject: [PATCH] mkunion now generates files with simpler names _gen.go --- cmd/mkunion/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mkunion/main.go b/cmd/mkunion/main.go index e39f1be4..6f2e164d 100644 --- a/cmd/mkunion/main.go +++ b/cmd/mkunion/main.go @@ -200,7 +200,7 @@ func main() { header.WriteString(helper.RenderBufferedImport()) log.Infof(helper.RenderBufferedImport()) - fileName := baseName + "_" + mkunion.Program + "_" + strings.ToLower(visitor.Name) + ".go" + fileName := baseName + "_" + strings.ToLower(visitor.Name) + "_gen.go" log.Infof("writing %s", fileName) header.Write(body.Bytes())