github.com/micro/go-micro/examples@v0.0.0-20210105173217-bf4ab679e18b/helloworld/README.md (about) 1 # Hello World 2 3 This is hello world using micro 4 5 ## Contents 6 7 - main.go - is the main definition of the service, handler and client 8 - proto - contains the protobuf definition of the API 9 10 ## Dependencies 11 12 Install the following 13 14 - [micro](https://github.com/micro/micro) 15 - [protoc-gen-micro](https://github.com/micro/protoc-gen-micro) 16 17 ## Run Service 18 19 ```shell 20 micro run service --name helloworld 21 ``` 22 23 ## Query Service 24 25 ``` 26 micro call helloworld Greeter.Hello '{"name": "John"}' 27 ```