From 049dea68043d0bc0b994b41b2b4e9bc8580ffdd8 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 23 Apr 2025 15:56:47 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2df6d1af..2d8cb760 100644 --- a/README.md +++ b/README.md @@ -74,10 +74,10 @@ Create, initialise and run the service ```golang // create a new service -service := micro.NewService( - micro.Name("helloworld"), - micro.Handle(new(Helloworld)), -) +service := micro.New("helloworld") + +// register handler +service.Handle(new(Helloworld)) // initialise flags service.Init() @@ -105,4 +105,6 @@ curl -XPOST \ http://localhost:8080 ``` +## Plugins +See [Plugins](https://github.com/micro/plugins) for implementations of the various core interfaces.