Skip to content

Commit

Permalink
feat: 定义pb,完善相应逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
lms committed Mar 26, 2024
1 parent 3025c7a commit 2bf08db
Show file tree
Hide file tree
Showing 69 changed files with 4,844 additions and 2,943 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ install: ## Install dependencies and protoc

.PHONY: gen
gen: ## generate protobuf file
#protoc -I=. --go_out=. --go_opt=module=${PKG} --go-grpc_out=. --go-grpc_opt=module=${PKG},require_unimplemented_servers=true api/grpc/v1/*.proto
protoc -I api/grpc/v1 api/grpc/v1/push.proto --go_out=api/grpc/v1 --go-grpc_out=require_unimplemented_servers=false:api/grpc/v1
protoc-go-inject-tag -input=api/grpc/v1/*.pb.go
#protoc -I=. --go_out=. --go_opt=module=${PKG} --go-grpc_out=. --go-grpc_opt=module=${PKG},require_unimplemented_servers=true api/pb/v1/*.proto
#protoc -I api/pb/v1 api/pb/v1/*.proto --gofast_out=api/pb/v1 --go-grpc_out=require_unimplemented_servers=false:api/pb/v1
protoc -I api/pb/v1 api/pb/v1/*.proto --go_out=api/pb/v1 --go-grpc_out=require_unimplemented_servers=false:api/pb/v1
protoc-go-inject-tag -input=api/pb/v1/*.pb.go

.PHONY: docker-build
# If you wish built the manager image targeting other platforms you can use the --platform flag.
Expand Down
Loading

0 comments on commit 2bf08db

Please sign in to comment.