1
0
mirror of https://github.com/go-kratos/kratos.git synced 2026-05-16 09:48:28 +02:00

update quick start (#784)

This commit is contained in:
Tony Chen
2021-03-17 20:31:37 +08:00
committed by GitHub
parent dcd4131d10
commit 8e21de5ea8
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -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
+3
View File
@@ -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源码