From 89575b5492472bfe4f2fd4746c2b0e2e4a6c8b21 Mon Sep 17 00:00:00 2001 From: Fedorov Vladimir Date: Sun, 19 May 2024 18:53:17 +0700 Subject: [PATCH] fix --- .gitignore | 1 + README.md | 3 ++- api/main.proto | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index cff626a..111f379 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ go.work .idea +go.sum diff --git a/README.md b/README.md index 6e6ff5a..e9c41ac 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,11 @@ Шалон для Go сервисов -Генерация контракта +Init ```shell make generate +go mod tidy ``` Запуск diff --git a/api/main.proto b/api/main.proto index 46002fd..d1c41a5 100644 --- a/api/main.proto +++ b/api/main.proto @@ -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) = {