Skip to content

tac0turtle/go-proto-wrapper

Repository files navigation

Golang Protobuf Msg Wrapper

This tool is meant to generate wrap and unwrap methods for protobuf oneof's.

Installation

go get github.com/mabar3778/go-proto-wrapper

Usage

Buf

With buf you can use it with the buf generate command by adding it to you buf.gen.yaml file like so:

version: v1beta1
plugins:
  - name: gogo
    out: .
    opt: paths=source_relative
  - name: gowrapper
    out: .
    opt: gogoimport=true

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published