entity

package
v0.0.0-...-07f6797 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdentifierModule

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

IdentifierModule validates & generates code for accessing an identifier on a message

func NewIdentifierModule

func NewIdentifierModule() *IdentifierModule

NewIdentifierModule creates a module for PG*

func (*IdentifierModule) Execute

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

Execute runs the generator

func (*IdentifierModule) InitContext

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

InitContext sets up module for use

func (*IdentifierModule) Name

func (m *IdentifierModule) Name() string

Name identifies this module

Jump to

Keyboard shortcuts

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