compiler

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compile

func Compile(path string, options ...Option) error

Compile compiles coroutines in a module.

The path argument can either be a path to a package within the module, or a pattern that matches multiple packages in the module (for example, /path/to/module/...). In both cases, the nearest module is located and compiled as a whole.

The path can be absolute, or relative to the current working directory.

Types

type Option

type Option func(*compiler)

Option configures the compiler.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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