codegen

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(cfg Config) error

func RunCLI

func RunCLI(binaryName string, args []string, stderr io.Writer) int

func Usage

func Usage(binaryName string) string

Types

type Config

type Config struct {
	SchemaPath        string
	OutDir            string
	PackageName       string
	ContractName      string
	Lang              string
	FlatcPath         string
	IncludePaths      []string
	PluginService     string
	OptionalAttribute string
	Capabilities      uint64
}

func DefaultConfig

func DefaultConfig() Config

func ParseFlags

func ParseFlags(binaryName string, args []string) (Config, error)

func (Config) Validate

func (c Config) Validate() error

Jump to

Keyboard shortcuts

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