fix
This commit is contained in:
parent
79a6ffda84
commit
89575b5492
|
@ -22,3 +22,4 @@
|
|||
go.work
|
||||
|
||||
.idea
|
||||
go.sum
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
|
||||
Шалон для Go сервисов
|
||||
|
||||
Генерация контракта
|
||||
Init
|
||||
|
||||
```shell
|
||||
make generate
|
||||
go mod tidy
|
||||
```
|
||||
|
||||
Запуск
|
||||
|
|
|
@ -4,6 +4,8 @@ package crabs.${REPO_NAME_SNAKE};
|
|||
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
option go_package = "pkg/proto";
|
||||
|
||||
service ${REPO_NAME_PASCAL} {
|
||||
rpc Ping(PingReq) returns (PingRsp) {
|
||||
option (google.api.http) = {
|
||||
|
|
Loading…
Reference in New Issue