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"
|
||||
)
|
||||
|
||||
package main() {
|
||||
service := micro.New("helloworld)
|
||||
func main() {
|
||||
service := micro.New("helloworld")
|
||||
service.Init()
|
||||
|
||||
say := pb.NewSayService("helloworld", service.Client())
|
||||
|
Reference in New Issue
Block a user