mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
Update getting-started.md (#2787)
This commit is contained in:
@ -193,8 +193,8 @@ import (
|
|||||||
pb "github.com/micro/helloworld/proto"
|
pb "github.com/micro/helloworld/proto"
|
||||||
)
|
)
|
||||||
|
|
||||||
package main() {
|
func main() {
|
||||||
service := micro.New("helloworld)
|
service := micro.New("helloworld")
|
||||||
service.Init()
|
service.Init()
|
||||||
|
|
||||||
say := pb.NewSayService("helloworld", service.Client())
|
say := pb.NewSayService("helloworld", service.Client())
|
||||||
|
Reference in New Issue
Block a user