This commit is contained in:
Владимир Фёдоров 2024-05-19 18:53:17 +07:00
parent 79a6ffda84
commit 89575b5492
3 changed files with 5 additions and 1 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@
go.work go.work
.idea .idea
go.sum

View File

@ -2,10 +2,11 @@
Шалон для Go сервисов Шалон для Go сервисов
Генерация контракта Init
```shell ```shell
make generate make generate
go mod tidy
``` ```
Запуск Запуск

View File

@ -4,6 +4,8 @@ package crabs.${REPO_NAME_SNAKE};
import "google/api/annotations.proto"; import "google/api/annotations.proto";
option go_package = "pkg/proto";
service ${REPO_NAME_PASCAL} { service ${REPO_NAME_PASCAL} {
rpc Ping(PingReq) returns (PingRsp) { rpc Ping(PingReq) returns (PingRsp) {
option (google.api.http) = { option (google.api.http) = {