update quick start (#784)

pull/785/head
Tony Chen 4 years ago committed by GitHub
parent dcd4131d10
commit 8e21de5ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      README.md
  2. 3
      README_zh.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

@ -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源码

Loading…
Cancel
Save