macro

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package macros exports types relevant to object macros.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MacroInterface

type MacroInterface interface {
	Load(name string, code []string)
	Call(name string, fields []string) string
}

MacroInterface is the interface for a Go object macro handler.

Here, "object macro handler" means Go code is handling object macros for a foreign programming language, for example JavaScript.

Jump to

Keyboard shortcuts

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