Simple (with good code style) example for Moleculer implementation for Go (https://github.com/roytan883/moleculer-go).
run on first terminal:
nats-server
run on second terminal:
go run .moleculer-service.go -s nats:https://127.0.0.1:4222
run on third terminal:
go run .moleculer-client-cli.go -s nats:https://127.0.0.1:4222
Moleculer is a fast, modern and powerful microservices framework for NodeJS (>= v6.x).
Moleculer: https://github.com/ice-services/moleculer
Website: https://moleculer.services
Documentation: https://moleculer.services/docs