This commit is contained in:
2026-06-16 23:08:35 +07:00
parent 5c7f3a4aca
commit 540b26b343
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -5,8 +5,8 @@ generate:
protoc -I ./api \
--go_out ./proto --go_opt paths=source_relative \
--go-grpc_out ./proto --go-grpc_opt paths=source_relative \
--grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative \
--swagger_out=allow_merge=true,merge_file_name=main:./proto \
--grpc-gateway_out ./proto --grpc-gateway_opt paths=source_relative,generate_unbound_methods=true \
--openapiv2_out ./proto --openapiv2_opt allow_merge=true,merge_file_name=main \
./api/main.proto
run:
-1
View File
@@ -3,7 +3,6 @@ module ${REPO_NAME_SNAKE}
go 1.22
require (
github.com/go-pkgz/routegroup v1.1.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0
google.golang.org/genproto/googleapis/api v0.0.0-20240513163218-0867130af1f8
google.golang.org/grpc v1.64.0