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.
Click to show internal directories.
Click to hide internal directories.