1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-03-17 21:07:54 +02:00

Update README.md

This commit is contained in:
Tony Chen 2021-02-24 19:37:19 +08:00 committed by GitHub
parent 7cbb0574b9
commit 1aa4dee6d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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