cue

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CueImportPath

type CueImportPath string

func (CueImportPath) String

func (p CueImportPath) String() string

type Generator

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

func NewGenerator

func NewGenerator() *Generator

func (*Generator) AddFile

func (g *Generator) AddFile(p string, f *protogen.File)

func (*Generator) GenerateFile

func (g *Generator) GenerateFile(ctx context.Context, p string) (*ast.File, error)

func (*Generator) Import

func (g *Generator) Import(ctx context.Context, p protogen.GoImportPath, alias, name string, resolve bool) (ast.Expr, error)

func (*Generator) ResolveGoType

func (g *Generator) ResolveGoType(ctx context.Context, ident protogen.GoIdent) (ast.Expr, error)

func (*Generator) UseBuiltinType

func (g *Generator) UseBuiltinType(ctx context.Context, name string) ast.Expr

Jump to

Keyboard shortcuts

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