Skip to content

Commit

Permalink
chore: up readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtARTs36 committed Aug 20, 2024
1 parent 453e46e commit 9f8029d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ google.golang.org/grpc/cmd/protoc-gen-go-grpc
Run
```shell
SERVER_HANDLERS_DIR=./grpc/handlers/
protoc --go_out=. --go_opt=paths=source_relative \
--go-grpc_out=./ --go-grpc_opt=paths=source_relative \
protoc \
--go-srv-handler_out=${SERVER_HANDLERS_DIR} --go-srv-handler_opt=paths=source_relative \
--go-srv-handler_opt=out_dir=${SERVER_HANDLERS_DIR} \
--go-srv-handler_opt=overwrite=false \
--go-srv-handler_opt=pkg_naming=as_is \
--go-srv-handler_opt=srv_naming=as_is \
--go-srv-handler_opt=gen_tests=true \
--go-srv-handler_opt=handler_file_naming=without_domain \
userapi/*.proto
example/*.proto
```

0 comments on commit 9f8029d

Please sign in to comment.