1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-18 08:26:38 +02:00
go-micro/examples/helloworld
2020-12-26 15:21:29 +00:00
..
proto rename imports 2020-12-26 15:21:29 +00:00
main.go rename imports 2020-12-26 15:21:29 +00:00
README.md Add examples 2020-12-26 15:17:20 +00:00

Hello World

This is hello world using micro

Contents

  • main.go - is the main definition of the service, handler and client
  • proto - contains the protobuf definition of the API

Dependencies

Install the following

Run Service

micro run service --name helloworld

Query Service

micro call helloworld Greeter.Hello '{"name": "John"}'