From 8e21de5ea843d55a1c36cec27a28c8400be1ed83 Mon Sep 17 00:00:00 2001 From: Tony Chen Date: Wed, 17 Mar 2021 20:31:37 +0800 Subject: [PATCH] update quick start (#784) --- README.md | 3 +++ README_zh.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/README.md b/README.md index 4b035f434..6499f6ead 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ go get github.com/go-kratos/kratos/cmd/kratos/v2@latest kratos new helloworld cd helloworld +# download modules +go mod download + # generate Proto template kratos proto add api/helloworld/helloworld.proto # generate Proto source code diff --git a/README_zh.md b/README_zh.md index b55798073..cd98444f6 100644 --- a/README_zh.md +++ b/README_zh.md @@ -58,6 +58,9 @@ go get github.com/go-kratos/kratos/cmd/kratos/v2@latest kratos new helloworld cd helloworld +# 拉取项目依赖 +go mod download + # 生成proto模板 kratos proto add api/helloworld/helloworld.proto # 生成proto源码