18 lines
208 B
Go
18 lines
208 B
Go
package tpl
|
|
|
|
func MainTemplate() []byte {
|
|
return []byte(`
|
|
/*
|
|
{{ .Copyright }}
|
|
{{if .Legal.Header}}{{ .Legal.Header }}{{end}}
|
|
*/
|
|
package main
|
|
|
|
import "{{ .PkgName }}/cmd"
|
|
|
|
func main() {
|
|
cmd.Execute()
|
|
}
|
|
`)
|
|
}
|