builtins

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package builtins implements the built in functions supported by spok, it also exports functions which other packages may use to retrieve and call a builtin function by name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builtin

type Builtin func(...string) (string, error)

Builtin is a spok built in function.

func Get

func Get(name string) (Builtin, bool)

Get looks up a builtin function by name, it returns the Builtin and a bool indicating whether or not it was found in the same way that item, ok is used for maps.

Jump to

Keyboard shortcuts

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