gobuffalo / genny

A framework for writing modular generators
MIT License
65 stars 14 forks source link

Adding transformer library #1

Closed paganotoni closed 6 years ago

markbates commented 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.

paganotoni commented 6 years ago

Thinking if i should close this PR and redo the transformer stuff in Genny tools folder by using what is there.

markbates commented 6 years ago

it's up to you.

paganotoni commented 6 years ago

I'll start by using what genny already have and add there what is missing.