mirror of
https://github.com/go-micro/go-micro.git
synced 2025-11-23 21:44:41 +02:00
Update readme
This commit is contained in:
@@ -101,10 +101,10 @@ func main() {
|
|||||||
// optionally setup command line usage
|
// optionally setup command line usage
|
||||||
cmd.Init()
|
cmd.Init()
|
||||||
|
|
||||||
server.Name = "go.micro.srv.example"
|
|
||||||
|
|
||||||
// Initialise Server
|
// Initialise Server
|
||||||
server.Init()
|
server.Init(
|
||||||
|
server.Name("go.micro.srv.example"),
|
||||||
|
)
|
||||||
|
|
||||||
// Register Handlers
|
// Register Handlers
|
||||||
server.Register(
|
server.Register(
|
||||||
|
|||||||
Reference in New Issue
Block a user