update the comment

This commit is contained in:
Asim 2015-12-20 23:52:58 +00:00
parent 2c983ef021
commit cc720dd125

View File

@ -5,19 +5,15 @@ Go micro provides a pluggable library to build microservices.
micro "github.com/micro/go-micro"
)
service := micro.New(
micro.Registry(r),
micro.Broker(b),
)
service := micro.NewService()
h := service.Server().NewHandler(&Greeter{})
service.Server().Handle(h)
service.Run()
req := service.Client.NewRequest(service, method, request)
req := service.Client().NewRequest(service, method, request)
rsp := response{}
err := service.Client.Call(req, rsp)
err := service.Client().Call(req, rsp)
*/