protobuf

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: OSL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Indent added in v1.6.2

func Indent(v interface{}) ([]byte, error)

Its kind of silly to include a one line function, but I keep forgetting how to indent the result of `Parse`.

Types

type Field

type Field struct {
	Number protowire.Number
	Type   protowire.Type
	Value  interface{}
}

func Parse added in v1.3.5

func Parse(buf []byte) []Field

Jump to

Keyboard shortcuts

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