Back to / pkg / pbutil

Package pbutil

Latest Go to latest

The latest major version is .

Published: Jul 14, 2017 | License: Apache-2.0 | Module:


Package pbutil defines interfaces for handling Protocol Buffer objects.


func Boolp

func Boolp(b bool) *bool

func GetBool

func GetBool(v *bool) (vv bool, set bool)

func MaybeUnmarshal

func MaybeUnmarshal(um Unmarshaler, data []byte) bool

func MustMarshal

func MustMarshal(m Marshaler) []byte

func MustUnmarshal

func MustUnmarshal(um Unmarshaler, data []byte)

type Marshaler

type Marshaler interface {
	Marshal() (data []byte, err error)

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(data []byte) error

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier