codegen

package
v0.24.2 Latest Latest
Warning

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

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

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