Categorygithub.com/ajm188/go-jsonpb
module
0.0.0-20210803120858-ca8457cea7fd
Repository: https://github.com/ajm188/go-jsonpb.git
Documentation: pkg.go.dev

# README

go-jsonpb

MIT GoDoc Go Report Card

Add protobuf/jsonpb marshalers to your proto messages

Usage

To use:

  1. Install the plugin: go install github.com/ajm188/go-jsonpb/cmd/protoc-gen-go-json.
    • Ensure that protoc-gen-go-json is in your $PATH. This should be the case as long as $GOPATH/bin is in your $PATH.
  2. Run protoc with the plugin: protoc --go_out=. --go_json_out=. /path/to/my.proto.

# Packages

No description provided by the author
No description provided by the author