msg_generator

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorCtx

type GeneratorCtx struct {
	// contains filtered or unexported fields
}

func NewGeneratorCtx

func NewGeneratorCtx() *GeneratorCtx

func (*GeneratorCtx) See

func (g *GeneratorCtx) See(m *protogen.Message) bool

type MsgGenerator

type MsgGenerator interface {
	IfaceName() string
	NewStmt(fieldPathStmt string) string
	Apply(gCtx *GeneratorCtx)
}

Jump to

Keyboard shortcuts

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