This example shows dubbo-go's service discovery feature with Nacos as registry.
Follow this instruction to install and start Nacos server.
$ go run ./go-server/cmd/server.go
test rpc server work as expected:
$ curl \ --header "Content-Type: application/json" \ --data '{"name": "Dubbo"}' \ http://localhost:20000/greet.GreetService/Greet
Open https://localhost:8848/nacos/
with browser, check url address successfully registered into Nacos.
$ go run ./go-client/cmd/client.go hello world