mirror of
https://github.com/go-kratos/kratos.git
synced 2025-02-13 13:48:51 +02:00
update quick start (#784)
This commit is contained in:
parent
dcd4131d10
commit
8e21de5ea8
@ -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…
x
Reference in New Issue
Block a user