Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline
This commit is contained in:
@@ -22,6 +22,8 @@ type {{.TypeName}} struct {
|
||||
Aliases []string
|
||||
EnvVars []string
|
||||
|
||||
defaultValue {{if .ValuePointer}}*{{end}}{{.GoType}}
|
||||
|
||||
{{range .StructFields}}
|
||||
{{.Name}} {{if .Pointer}}*{{end}}{{.Type}}
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user