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:
|
gen:
|
||||||
@buf generate proto/session
|
@buf generate proto/session -o ${GEN_DIR}/session
|
||||||
@buf generate proto/user
|
@buf generate proto/user -o ${GEN_DIR}/user
|
||||||
dev:
|
dev:
|
||||||
@make gen
|
@make gen
|
||||||
@go run main.go
|
@go run main.go
|
||||||
|
|
|
@ -2,11 +2,11 @@ version: v1
|
||||||
managed:
|
managed:
|
||||||
enabled: true
|
enabled: true
|
||||||
go_package_prefix:
|
go_package_prefix:
|
||||||
default: ./pkg/go/gen
|
default: git.sch9.ru/new_gate/ms-auth/pkg/go/gen/
|
||||||
plugins:
|
plugins:
|
||||||
- name: go
|
- name: go
|
||||||
out: pkg/go/gen
|
out: /
|
||||||
opt: paths=source_relative
|
opt: paths=source_relative
|
||||||
- name: go-grpc
|
- name: go-grpc
|
||||||
out: pkg/go/gen
|
out: /
|
||||||
opt: paths=source_relative
|
opt: paths=source_relative
|
||||||
|
|
Loading…
Reference in a new issue