From 2f178a0f69348ca8c718e8e0ac7237d426efb702 Mon Sep 17 00:00:00 2001 From: summer-boythink <57977288+summer-boythink@users.noreply.github.com> Date: Wed, 4 Sep 2024 14:06:19 +0800 Subject: [PATCH] fix: Update README.md (#25) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 199c146..639f3fa 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ Language  English - install `protoc-gen-go` and `protoc-gen-tinyrpc`: ``` -go install github.com/golang/protobuf/protoc-gen-go -go install github.com/zehuamama/tinyrpc/protoc-gen-tinyrpc +go install github.com/golang/protobuf/protoc-gen-go@latest +go install github.com/zehuamama/tinyrpc/protoc-gen-tinyrpc@latest ``` ## Quick Start @@ -131,6 +131,7 @@ We can create a tinyrpc client and call it synchronously with the `Add` function import ( "demo/message" "github.com/zehuamama/tinyrpc" +) ... conn, err := net.Dial("tcp", ":8082")