macro

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: GPL-3.0 Imports: 0 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(filepath string) interface{}

File inlines a JS file js:"File,omit"

func Raw

func Raw(src string, vars ...interface{}) interface{}

Raw inlines a JS expression js:"Raw,omit"

func Rewrite

func Rewrite(expr string, variables ...interface{}) interface{}

Rewrite an expression replacing the variables as needed js:"Rewrite,omit"

func Runtime

func Runtime(defs ...string) interface{}

Runtime fn js:"Runtime,omit"

Types

This section is empty.

Jump to

Keyboard shortcuts

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