go-jsonpb

module
v0.0.0-...-ca8457c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2021 License: MIT

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.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL