fix: package name&dir
This commit is contained in:
parent
c8b55f6866
commit
c55ddc6a0a
2 changed files with 7 additions and 5 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue