You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@icock @20zinnm I think it would be usefule. Do you have some more specific ideas on how to get the parameters for what files to generate and where to put them?
One idea is expand of the generic name replacement.
eg: -out gen-source-Something.go Something=string,int Other=bool,float64 creates gen-source-string.go and gen-source-int.go where the Other variations are copied in each of the files, but the Something ones are distinct to their output files.
Could genny offer a command line option to separate generated code in multiple files?
For example, "SomeType=string,int" will generate
gen-source-string.go
andgen-source-int.go
.The text was updated successfully, but these errors were encountered: