|
|
@ -65,7 +65,7 @@ kratos proto client api/helloworld/helloworld.proto |
|
|
|
# generate server template |
|
|
|
# generate server template |
|
|
|
kratos proto server api/helloworld/helloworld.proto -t internal/service |
|
|
|
kratos proto server api/helloworld/helloworld.proto -t internal/service |
|
|
|
|
|
|
|
|
|
|
|
# Generate all proto source code, wire, etc. |
|
|
|
# generate all proto source code, wire, etc. |
|
|
|
go generate ./... |
|
|
|
go generate ./... |
|
|
|
# compile |
|
|
|
# compile |
|
|
|
go build -o ./bin/ ./... |
|
|
|
go build -o ./bin/ ./... |
|
|
@ -93,7 +93,7 @@ app.Run() |
|
|
|
## Related |
|
|
|
## Related |
|
|
|
|
|
|
|
|
|
|
|
* [Docs](https://go-kratos.dev/) |
|
|
|
* [Docs](https://go-kratos.dev/) |
|
|
|
* [Examples](https://github.com/go-kratos/examples) |
|
|
|
* [Examples](./examples) |
|
|
|
* [Service Layout](https://github.com/go-kratos/kratos-layout) |
|
|
|
* [Service Layout](https://github.com/go-kratos/kratos-layout) |
|
|
|
|
|
|
|
|
|
|
|
## Community |
|
|
|
## Community |
|
|
|