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) = {