So far, we have used the command line to execute GET and POST HTTP requests to access services. This can also be achieved by way of the Go Micro web user interface as well. All we need to do is start micro web, which we will be covering in this recipe.
Interacting with microservices using a command-line interface and web UI
How to do it...
- Install the go get github.com/micro/micro package using the go get command, as follows:
$ go get github.com/micro/micro
- Run the web UI with the following command:
$ micro web
How it works...
Once a command has executed successfully...