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

Make GoGet and GoInstall useable from generators #74

Merged
merged 1 commit into from
Dec 29, 2016
Merged

Make GoGet and GoInstall useable from generators #74

merged 1 commit into from
Dec 29, 2016

Conversation

intabulas
Copy link
Contributor

goGet/goInstall are un-exported in the cmd package, which makes then unusable for commands on the generate package (ie: goth generator).

This PR adds GoGet and GoInstall to the generate package and updates existing generators to use the new exported version.

This PR also moves the previous goGet/goInstall to root.go (to avoid a package namespace conflict with the soda generator) and changes them to simple call genertate.Go*.

Closes #73

goGet/goInstall are unexported in the cmd package, which makes then unusable for commands on the generate package (ie: goth generator).

This PR adds GoGet and GoInstall to the generate package and updates existing generators to use the new exported version.

This PR also moves the previous goGet/goInstall to root.go (to avoid a package namespace conflict with the soda generator) and changes them to simple call genetate.Go*.
@markbates markbates merged commit 14df5ab into gobuffalo:master Dec 29, 2016
@markbates
Copy link
Member

Awesome. 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.

2 participants