Fix: dont generate pointer for dest for Generic flag

This commit is contained in:
Naveen Gogineni
2022-09-10 18:03:25 -04:00
committed by Dan Buch
parent 0658d61a0e
commit e13c16bb10
4 changed files with 67 additions and 51 deletions

View File

@@ -17,7 +17,7 @@ type {{.TypeName}} struct {
HasBeenSet bool
Value {{if .ValuePointer}}*{{end}}{{.GoType}}
Destination *{{.GoType}}
Destination {{if .NoDestinationPointer}}{{else}}*{{end}}{{.GoType}}
Aliases []string
EnvVars []string