protoutil

package
v0.0.0-...-c4be6ef Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func FormatComments

func FormatComments(set protogen.CommentSet) string

Types

type GoKind

type GoKind int
const (
	GoInt32 GoKind
	GoInt64
	GoUint32
	GoUint64
	GoFloat32
	GoFloat64
	GoBool
	GoString
	GoBytes
)

func GoKindFrom

func GoKindFrom(k protoreflect.Kind) GoKind

func (GoKind) String

func (k GoKind) String() string

type JSONKind

type JSONKind int
const (
	JSONInt JSONKind
	JSONFloat
	JSONString
	JSONBoolean
	JSONBase64String
	JSONEnumString
	JSONObject
)

func JSONKindFrom

func JSONKindFrom(k protoreflect.Kind) JSONKind

Jump to

Keyboard shortcuts

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