adb15d9a67
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
example | ||
.gitignore | ||
ast.go | ||
chi.go | ||
fiealaligment.go | ||
go.mod | ||
go.sum | ||
gorilla.go | ||
http.go | ||
LICENSE | ||
main.go | ||
micro.go | ||
openapiv3_util.go | ||
openapiv3.go | ||
README.md | ||
rpc.go | ||
util.go | ||
variables.go |
protoc-gen-go-micro
protobuf plugin to generate helper code for micro framework
A generic code/script/data generator based on Protobuf.
This project is a generator plugin for the Google Protocol Buffers compiler (protoc
).
Usage
$> protoc --go_micro_out=debug=true,components="micro|http":. input.proto
Option | Default Value | Accepted Values | Description |
---|---|---|---|
tag_path |
. |
any local path |
path contains generated protobuf code that needs to be tagged |
debug |
false | true or false |
if true, protoc will generate a more verbose output |
components |
micro |
micro rpc http chi gorilla client server |
some values can't coexists like gorilla/chi or rpc/http, values must be concatinated with pipe symbol |
Install
- Install the go compiler and tools from https://golang.org/doc/install
- Install protoc-gen-go:
go install google.golang.org/protobuf/cmd/protoc-gen-go
- Install protoc-gen-go-micro:
go install go.unistack.org/protoc-gen-go-micro/v3