gomicrotest is a simple go-micro program which contains a client and a server part.
since the program used protobuf to connect service,you should also install the golang protobuf.
step
-
install and start consul, you can also use [micro web] command to start the micro webUI
-
go run [server/service/test/main.go]
-
go run [client/main.go]
mention:
once the service started successfully, it will print some words and you can customize the class and the method.