Split package from application
It would be cool to be able to call Goose as a package from other Go programs. For example I would like to run migrations from within my test suite. It should be fairly easy to separate a library package from the application.
Comments (4)
-
repo owner -
Looks like there's a pull request for this feature:
https://bitbucket.org/liamstask/goose/pull-request/19/split-it-to-single-package/diff
Any thoughts on merging it? I would find this feature quite useful.
cheers
-
repo owner Sorry, yes! Agree this would be useful.
I haven't had a chance to review as I've been in the middle of getting a house and moving. Hoping to take a look at the several pending issues/merge requests soon.
-
repo owner - changed status to resolved
OK, this is preliminarily implemented as of 02bbe7a. API is still subject to change, but hopefully the broad strokes of the reorganization are in place.
- Log in to comment
Just wanted to leave a quick note to say that I agree!
If anybody has energy to tackle this, I'd be happy to integrate it.