1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-05-25 21:53:14 +02:00

Update README.md

This commit is contained in:
Asim Aslam 2025-04-23 15:56:47 +01:00 committed by GitHub
parent 3fa2a38d76
commit 049dea6804
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,10 +74,10 @@ Create, initialise and run the service
```golang ```golang
// create a new service // create a new service
service := micro.NewService( service := micro.New("helloworld")
micro.Name("helloworld"),
micro.Handle(new(Helloworld)), // register handler
) service.Handle(new(Helloworld))
// initialise flags // initialise flags
service.Init() service.Init()
@ -105,4 +105,6 @@ curl -XPOST \
http://localhost:8080 http://localhost:8080
``` ```
## Plugins
See [Plugins](https://github.com/micro/plugins) for implementations of the various core interfaces.