From 1aa4dee6d8ae063dc804a99a4fed2577075d2c65 Mon Sep 17 00:00:00 2001 From: Tony Chen Date: Wed, 24 Feb 2021 19:37:19 +0800 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dd95676cb..c4e891392 100644 --- a/README.md +++ b/README.md @@ -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