fix: package name&dir

This commit is contained in:
Vyacheslav1557 2024-08-16 17:56:59 +05:00
parent c8b55f6866
commit c55ddc6a0a
2 changed files with 7 additions and 5 deletions

View file

@ -1,6 +1,8 @@
GEN_DIR=pkg/go/gen
gen:
@buf generate proto/session
@buf generate proto/user
@buf generate proto/session -o ${GEN_DIR}/session
@buf generate proto/user -o ${GEN_DIR}/user
dev:
@make gen
@go run main.go

View file

@ -2,11 +2,11 @@ version: v1
managed:
enabled: true
go_package_prefix:
default: ./pkg/go/gen
default: git.sch9.ru/new_gate/ms-auth/pkg/go/gen/
plugins:
- name: go
out: pkg/go/gen
out: /
opt: paths=source_relative
- name: go-grpc
out: pkg/go/gen
out: /
opt: paths=source_relative