runtime

package
v0.0.1-beta.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package runtime embeds the @goesm/runtime TypeScript sources so that the goesm binary is self-contained. The runtime is written in TypeScript and is emitted next to the generated modules (@goesm/runtime/*.ts), for whichever bundler consumes them; goesm never executes it.

Index

Constants

This section is empty.

Variables

View Source
var Files embed.FS

Files holds runtime/src/*.ts.

Functions

func HasNative

func HasNative(fullName string) bool

HasNative reports whether the runtime implements the native NativeName(fullName).

func NativeName

func NativeName(fullName string) string

NativeName is the export of runtime/src/natives.ts implementing the standard library function with the given types.Func.FullName.

Types

This section is empty.

Jump to

Keyboard shortcuts

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