From 885b8d8a141f9b9c88a4e4eb89206d655127d9c6 Mon Sep 17 00:00:00 2001 From: Jingguo Yao Date: Mon, 22 May 2017 20:38:03 +0800 Subject: [PATCH] doc: fix a typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b1c75a7..70306e6 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ httpS := &http.Server{ } trpcS := rpc.NewServer() -s.Register(&ExampleRPCRcvr{}) +trpcS.Register(&ExampleRPCRcvr{}) // Use the muxed listeners for your servers. go grpcS.Serve(grpcL)