mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-29 21:47:44 +02:00
* Use internal runtime package for gomu run This change refactors the `gomu run` command to use Go Micro's internal runtime package in order to run services. Not only does this clean up duplicate functionality between Go Micro and Gomu, but also adds the feature to Gomu to run remote projects. For example, the following command pulls in a remote project and runs it locally. ```bash gomu run github.com/auditemarlow/helloworld ``` The `gomu run` command remains backwards compatible. By invoking `gomu run` in a Go Micro project directory, Gomu will simply run that project. * Simplify Gomu's command registering By leveraging Go's `init()` function, we can simplify registering commands just a tad.