Skip to content

fynntang/protobuf-gen-go

Repository files navigation

protobuf-gen-go

Static Badge Static Badge Static Badge Static Badge Static Badge GitHub tag (with filter)

Usage

Install protoc-gen-go-http

go install github.com/fynntang/protobuf-gen-go/protoc-gen-go-http@latest

protoc command

protoc --proto_path=./ \
  --go_out=paths=source_relative:./ \
  --go-http_out=paths=source_relative:./

Install protoc-go-inject-tags

go install github.com/fynntang/protobuf-gen-go/protoc-go-inject-tags@latest

command

protoc-go-inject-tags --tags=form,uri --folder=./

protoc-go-inject-tags parameter description

Parameter Description Default
--tags Used to specify the label that needs to be injected
--folder Used to specify the directory where the file is located

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks