Go to file
dependabot[bot] 4c47d7d37c
Bump github.com/unistack-org/micro-proto from 0.0.8 to 0.0.9
Bumps [github.com/unistack-org/micro-proto](https://github.com/unistack-org/micro-proto) from 0.0.8 to 0.0.9.
- [Release notes](https://github.com/unistack-org/micro-proto/releases)
- [Commits](https://github.com/unistack-org/micro-proto/compare/v0.0.8...v0.0.9)

---
updated-dependencies:
- dependency-name: github.com/unistack-org/micro-proto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-06 12:29:22 +00:00
.github add github stuff 2021-09-06 15:28:24 +03:00
example change name, add comment 2021-06-22 01:34:06 +03:00
.gitignore support proto3 optional 2021-02-25 22:11:08 +03:00
ast.go fix tag for nested messages 2021-08-31 19:40:20 +03:00
chi.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
go.mod Bump github.com/unistack-org/micro-proto from 0.0.8 to 0.0.9 2021-09-06 12:29:22 +00:00
go.sum Bump github.com/unistack-org/micro-proto from 0.0.8 to 0.0.9 2021-09-06 12:29:22 +00:00
gorilla.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
http.go add micro.codec.Frame special type handling 2021-08-31 20:39:56 +03:00
LICENSE change license 2021-02-23 14:50:01 +03:00
main.go dont tag if tag_path is empty 2021-05-11 09:07:12 +03:00
micro.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
README.md change name, add comment 2021-06-22 01:34:06 +03:00
rpc.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
util.go add micro.codec.Frame special type handling 2021-08-31 20:39:56 +03:00
variables.go add micro.codec.Frame special type handling 2021-08-31 20:39:56 +03:00

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 --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 get google.golang.org/protobuf/cmd/protoc-gen-go
  • Install protoc-gen-go-micro: go get github.com/unistack-org/protoc-gen-go-micro/v3