Start consul agent by executing the following command:
$ consul agent -dev
Install and run micro by executing the following commands:
$ go get github.com/micro/micro $ micro api 2018/02/06 00:03:36 Registering RPC Handler at /rpc 2018/02/06 00:03:36 Registering API Default Handler at / 2018/02/06 00:03:36 Listening on [::]:8080 2018/02/06 00:03:36 Listening on [::]:54814 2018/02/06 00:03:36 Broker Listening on [::]:54815 2018/02/06 00:03:36 Registering node: go.micro.api-a6a82a54-0aaf-11e8-8d64-685b35d52676