package
0.0.0-20240319171658-c50f1b6ba738
Repository: https://github.com/robfig/soy.git
Documentation: pkg.go.dev

# Functions

ES6Identifier creates an ES6 compatible function name without periods.
NewGenerator returns a new javascript generator capable of producing javascript for the templates contained in the given registry.
Write writes the javascript represented by the given node to the given writer.

# Variables

No description provided by the author
Funcs contains the available Soy functions.
PrintDirectives are the builtin print directives.

# Structs

ES5Formatter implements the JSFormatter interface and creates Javascript files following the ES5 Javascript format (without imports).
ES6Formatter implements the JSFormatter interface and creates Javascript files following the ES6 Javascript format (with imports).
Func represents a Soy function that may invoked within a template.
Generator provides an interface to a template registry capable of generating javascript to execute the embodied templates.
Options for js source generation.
PrintDirective represents a transformation applied when printing a value.

# Interfaces

The JSFormatter interface allows for callers to choose which version of Javascript they would like soyjs to output.
JSWriter is provided to functions to write to the generated javascript.