mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
Strip readme comments
This commit is contained in:
parent
9438fae607
commit
f4ea9787a9
@ -157,14 +157,9 @@ func main() {
|
|||||||
service := micro.NewService(
|
service := micro.NewService(
|
||||||
micro.Name("greeter"),
|
micro.Name("greeter"),
|
||||||
micro.Version("latest"),
|
micro.Version("latest"),
|
||||||
micro.Metadata(map[string]string{
|
|
||||||
"type": "helloworld",
|
|
||||||
}),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Init will parse the command line flags. Any flags set will
|
// Init will parse the command line flags.
|
||||||
// override the above settings. Options defined here will
|
|
||||||
// override anything set on the command line.
|
|
||||||
service.Init()
|
service.Init()
|
||||||
|
|
||||||
// Register handler
|
// Register handler
|
||||||
|
Loading…
Reference in New Issue
Block a user