Fix tabs in the README

Signed-off-by: René Jochum <rene@jochum.dev>
master
René Jochum 2 years ago
parent 7200dcdd62
commit 2237cb4785

@ -23,8 +23,8 @@ Here some code from the microlobby project
```go
import (
"github.com/go-micro/router"
"github.com/urfave/cli/v2"
"go-micro.dev/v4"
"github.com/urfave/cli/v2"
"go-micro.dev/v4"
"wz2100.net/microlobby/shared/proto/authservicepb/v1"
)
@ -32,8 +32,8 @@ func main() {
service := micro.NewService()
service.Init(
micro.Action(func(c *cli.Context) error {
s := service.Server()
micro.Action(func(c *cli.Context) error {
s := service.Server()
r := router.NewHandler(
config.RouterURI,
router.NewRoute(
@ -77,8 +77,8 @@ func main() {
),
)
r.RegisterWithServer(s)
}
)
}
)
}
```

Loading…
Cancel
Save