Closed paganotoni closed 6 years ago
Some of these are already here:
https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools
Also there are some helpers, like https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools#ParseFile, which should clean up a ton of code.
Try to break the transformers down like this https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools#AddImport so they do only one small thing each.
Thinking if i should close this PR and redo the transformer stuff in Genny tools folder by using what is there.
it's up to you.
I'll start by using what genny already have and add there what is missing.
Some of these are already here:
https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools
Also there are some helpers, like https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools#ParseFile, which should clean up a ton of code.
Try to break the transformers down like this https://godoc.org/github.com/gobuffalo/genny/movinglater/gotools#AddImport so they do only one small thing each.