This example demonstrates the basic usage of dubbo-go as an RPC framework. Check Quick Start on our official website for detailed explanation.
go run ./go-server/cmd/main.go
test server work as expected:
curl \ --header "Content-Type: application/json" \ --data '{"name": "Dubbo"}' \ http://localhost:20000/greet.GreetService/Greet
go run ./go-client/cmd/main.go