Fix: dont generate pointer for dest for Generic flag

This commit is contained in:
Naveen Gogineni
2022-09-10 18:03:25 -04:00
parent 6124f3ad9e
commit 15491d6f91
5 changed files with 68 additions and 50 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