From 9b541d20ceadc4f35287ba53fecb06b66c916738 Mon Sep 17 00:00:00 2001 From: Eliott Takvorian Date: Tue, 17 Mar 2026 19:00:00 +0100 Subject: [PATCH] Line break between legal notice and package declaration I just added a line break between the legal notice and the package declaration, so that the legal notice isn't mistaken for the package documentation. --- tpl/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tpl/main.go b/tpl/main.go index 009524c..5cff324 100644 --- a/tpl/main.go +++ b/tpl/main.go @@ -18,6 +18,7 @@ func MainTemplate() []byte { {{ .Copyright }} {{ if .Legal.Header }}{{ .Legal.Header }}{{ end }} */ + package main import "{{ .PkgName }}/cmd" @@ -33,6 +34,7 @@ func RootTemplate() []byte { {{ .Copyright }} {{ if .Legal.Header }}{{ .Legal.Header }}{{ end }} */ + package cmd import ( @@ -123,6 +125,7 @@ func AddCommandTemplate() []byte { {{ .Project.Copyright }} {{ if .Legal.Header }}{{ .Legal.Header }}{{ end }} */ + package cmd import (