copied

package
v1.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0, BSD-3-Clause Imports: 5 Imported by: 0

README

copied

this pkg contains code copied from google's protobuf-gen-go implementation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitFunctionName

func InitFunctionName(f *protogen.File) string

func MessageTypesVarName

func MessageTypesVarName(f *FileInfo) string

Types

type FileInfo

type FileInfo struct {
	*protogen.File

	AllMessagesByPtr map[*MessageInfo]int // value is index into allMessages
	// contains filtered or unexported fields
}

func NewFileInfo

func NewFileInfo(file *protogen.File) *FileInfo

type MessageInfo

type MessageInfo struct {
	*protogen.Message
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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