jsonshim

package
v0.0.0-...-5e29c41 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package jsonshim generates MarshalJSON() and UnmarshalJSON() functions from the Protocol Buffers definition types.

Index

Constants

This section is empty.

Variables

SupportedFeatures reports the set of supported protobuf language features.

Functions

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

GenerateFile generates MarshalJSON() and UnmarshalJSON() function into _jsonshim.pb.go file.

Types

This section is empty.

Jump to

Keyboard shortcuts

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