sample

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Marshaler = gateway.JSONPb{}

Functions

func CreateJsonSample

func CreateJsonSample(v proto.Message, name string, f *os.File) error

func CreateJsonSampleRaw

func CreateJsonSampleRaw(v proto.Message, name string, f *os.File) error

func CreateSample added in v0.0.3

func CreateSample(v proto.Message, name string, f *os.File, pretty bool) error

func Setup

func Setup(name string) (*os.File, error)

func WriteToSample added in v0.0.3

func WriteToSample(b []byte, name string, f *os.File) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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