generate

package
v0.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdGenerateStub

func CmdGenerateStub(cfg config.BuildConfig, out string) error

CmdGenerateStub generates a stub file of the appropriate type for cfg. out is the full output path or "-" for stdout.

func ResolveStubType

func ResolveStubType(cfg config.BuildConfig) (string, error)

ResolveStubType determines the stub type from cfg.StubType or the extension of cfg.StubFile. Returns one of "rust", "go", "js", "ts", "c", "as", or an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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