include

package
v0.33.13 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IncludeFn

type IncludeFn struct {
}

Implements the include() built-in.

The main difference is that include() doesn't bind any arguments into the global scope, whereas load() forces you to bind at least one argument into the global scope (i.e., you can't load() a Tilfile for its side-effects).

Users should generally be discouraged from using this function. They should use load_dynamic instead, which has a more self-descriptive name and can load symbols.

func (IncludeFn) OnStart

func (IncludeFn) OnStart(e *starkit.Environment) error

Jump to

Keyboard shortcuts

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