Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

import buffalo when generating a new action #136

Merged
merged 1 commit into from
Jan 14, 2017

Conversation

lumost
Copy link
Contributor

@lumost lumost commented Jan 14, 2017

The current action generator does not import buffalo, and the resultant actions will fail to compile. This PR adds a quick fix and test.

@lumost lumost changed the title import buffalo in default action signature and test import buffalo when generating a new action Jan 14, 2017
@paganotoni
Copy link
Member

this looks good to me, the actions generator runs Fmt task, which check on your system for the goimports package if you have it installed it will add the import, i think is better to add it by default and not relay on the goimports installation. thanks for this @lumost!

@markbates markbates merged commit f98a922 into gobuffalo:master Jan 14, 2017
@markbates
Copy link
Member

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants