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.

Source Files