Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tpl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func MainTemplate() []byte {
{{ .Copyright }}
{{ if .Legal.Header }}{{ .Legal.Header }}{{ end }}
*/

package main

import "{{ .PkgName }}/cmd"
Expand All @@ -33,6 +34,7 @@ func RootTemplate() []byte {
{{ .Copyright }}
{{ if .Legal.Header }}{{ .Legal.Header }}{{ end }}
*/

package cmd

import (
Expand Down Expand Up @@ -123,6 +125,7 @@ func AddCommandTemplate() []byte {
{{ .Project.Copyright }}
{{ if .Legal.Header }}{{ .Legal.Header }}{{ end }}
*/

package cmd

import (
Expand Down