Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline

This commit is contained in:
Naveen Gogineni
2022-10-10 12:55:08 -04:00
parent 39b1245772
commit 729a7c41ce
16 changed files with 370 additions and 27 deletions

View File

@@ -22,6 +22,8 @@ type {{.TypeName}} struct {
Aliases []string
EnvVars []string
defaultValue {{if .ValuePointer}}*{{end}}{{.GoType}}
{{range .StructFields}}
{{.Name}} {{if .Pointer}}*{{end}}{{.Type}}
{{end}}