module

package
v1.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Element

type Element interface {
	Element() pgs.FieldTypeElem
}

type FieldType

type FieldType interface {
	ProtoType() pgs.ProtoType
	Embed() pgs.Message
}

type ImportInfo

type ImportInfo struct {
	Path  string
	Alias string
}

ImportInfo stores normalized import information

type Module

type Module struct {
	*pgs.ModuleBase
	// contains filtered or unexported fields
}

func Flags

func Flags() *Module

func (*Module) Check

func (m *Module) Check(msg pgs.Message)

func (*Module) CheckFieldRules

func (m *Module) CheckFieldRules(f pgs.Field, field *flags.FieldFlags)

func (*Module) CheckRepeatedFlag

func (m *Module) CheckRepeatedFlag(typ FieldType, repeated *flags.RepeatedFlags)

func (*Module) Execute

func (m *Module) Execute(targets map[string]pgs.File, _ map[string]pgs.Package) []pgs.Artifact

func (*Module) InitContext

func (m *Module) InitContext(c pgs.BuildContext)

func (*Module) Name

func (m *Module) Name() string

type Repeatable

type Repeatable interface {
	IsRepeated() bool
}

Jump to

Keyboard shortcuts

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