Help us shape the future of Go! Take the 2026 Go Developer Survey

macro

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2017 License: GPL-3.0 Imports: 0 Imported by: 0

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