builder

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompileBinary

func CompileBinary(buildDir, outputDir, outputName string) error

CompileBinary builds the custom TypeGo binary from the generated main.go

func ScaffoldMain

func ScaffoldMain(dir string, namedImports map[string]string, shims map[string]string, bridge string) error

ScaffoldMain generates the main.go file in the specified directory

Types

type MainTemplateData

type MainTemplateData struct {
	NamedImports map[string]string // Path -> Name
	Shims        map[string]string
	Bridge       string
}

Jump to

Keyboard shortcuts

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