codegen

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileBinary

func CompileBinary(ctx context.Context, ui *ui.UI, shuttlelocaldir string) (string, error)

func Format

func Format(ctx context.Context, ui *ui.UI, shuttlelocaldir string) error

func GenerateMainFile

func GenerateMainFile(
	ctx context.Context,
	shuttlelocaldir string,
	actions *discover.ActionsDiscovered,
	functions []*parser.Function,
) error

func ModTidy

func ModTidy(ctx context.Context, ui *ui.UI, shuttlelocaldir string) error

Types

type Patcher added in v0.21.0

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

func NewPatcher added in v0.21.0

func NewPatcher() *Patcher

func (*Patcher) Patch added in v0.21.0

func (p *Patcher) Patch(ctx context.Context, rootDir string, shuttleLocalDir string) error

Jump to

Keyboard shortcuts

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