Update README.md

pull/727/head
Tony Chen 4 years ago committed by GitHub
parent 7cbb0574b9
commit 1aa4dee6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      README.md

@ -63,11 +63,12 @@ kratos proto client api/helloworld/helloworld.proto
# 生成server模板 # 生成server模板
kratos proto server api/helloworld/helloworld.proto -t internal/service kratos proto server api/helloworld/helloworld.proto -t internal/service
# 生成所有proto源码、wire等等
go generate ./...
# 编译成可执行文件 # 编译成可执行文件
cd /cmd/helloworld go build -o ./bin/ ./...
go build
# 运行程序 # 运行程序
./helloword ./bin/helloworld -conf configs/
``` ```
### Kratos Boot ### Kratos Boot

Loading…
Cancel
Save