Skip to content

Commit

Permalink
Merge pull request kitex-contrib#14 from jetsung/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
GuangmingLuo authored Dec 23, 2022
2 parents 2ca160f + c6cf032 commit 0d49e71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func main() {
log.Fatal(err)
}
// https://www.cloudwego.io/docs/tutorials/framework-exten/registry/#integrate-into-kitex
server, err := echo.NewServer(new(EchoImpl), server.WithServerBasicInfo(&rpcinfo.EndpointBasicInfo{ServiceName: "echo"}, server.WithRegistry(r)))
server, err := echo.NewServer(new(EchoImpl), server.WithServerBasicInfo(&rpcinfo.EndpointBasicInfo{ServiceName: "echo"}), server.WithRegistry(r))
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 0d49e71

Please sign in to comment.