Go to file
dependabot[bot] a58a9d5173
Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#55)
Bumps [google.golang.org/protobuf](https://github.com/protocolbuffers/protobuf-go) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/protocolbuffers/protobuf-go/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf-go/blob/master/release.bash)
- [Commits](https://github.com/protocolbuffers/protobuf-go/compare/v1.28.0...v1.28.1)

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-28 17:23:36 +03:00
.github Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#50) 2022-06-25 22:51:12 +03:00
example cleanup deps 2021-10-23 23:30:16 +03:00
.gitignore some fixes 2021-10-23 23:21:10 +03:00
ast.go update to never micro-proto, generate openapi 2021-10-23 02:55:43 +03:00
chi.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
fiealaligment.go add fieldaligment 2021-12-26 01:09:11 +03:00
go.mod Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#55) 2022-08-28 17:23:36 +03:00
go.sum Bump google.golang.org/protobuf from 1.28.0 to 1.28.1 (#55) 2022-08-28 17:23:36 +03:00
gorilla.go use plain struct for endpoints 2021-06-23 00:23:38 +03:00
http.go fix drpc method name in generator 2022-03-20 15:08:04 +03:00
LICENSE change license 2021-02-23 14:50:01 +03:00
main.go fix drpc method name in generator 2022-03-20 15:08:04 +03:00
micro.go support message reference 2022-03-19 15:13:34 +03:00
openapiv3_util.go improve openapi support 2022-02-18 00:54:47 +03:00
openapiv3.go fix for empty default response 2022-03-03 19:11:57 +03:00
README.md add support for cookie and header variables 2021-10-24 00:52:39 +03:00
rpc.go fix drpc method name in generator 2022-03-20 15:08:04 +03:00
util.go fix drpc method name in generator 2022-03-20 15:08:04 +03:00
variables.go fix for empty default response 2022-03-03 19:11:57 +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 --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