package
1.2.2
Repository: https://github.com/sipin/gorazor.git
Documentation: pkg.go.dev

# Packages

# Functions

Capitalize change first character to upper.
FormatBuffer format go code, panic when code is invalid.
GenFile generate from input to output file, gofmt will trigger an error if it fails.
GenFolder generate from directory to directory, Find all the files with extension of .gohtml and generate it into target dir.
LayoutArgs returns arguments of given layout file.
SetLayout arguments for layout file.

# Constants

------------------------------ Parser ------------------------------//.
------------------------------ Compiler ------------------------------ //.
------------------------------ Compiler ------------------------------ //.
------------------------------ Compiler ------------------------------ //.
------------------------------ Parser ------------------------------//.
------------------------------ Parser ------------------------------//.
------------------------------ Parser ------------------------------//.
------------------------------ Parser ------------------------------//.

# Variables

GorazorNamespace defines util pkg namespace used in template.
PAIRS stores the symbols that must come in pairs.
QuickMode enabled to skip template optimization.
TemplateNamespacePrefix record the namespace prefix for executing folder.
Tests stores TokenMatch list, TokenMatch order is important.
VERSION specify version of gorazor.

# Structs

Ast stores the abstract syntax tree.
Compiler generate go code for gorazor template.
Lexer for gorazor.
Option have following options:.
Parser parse the gorazor file.
Part represent gorazor template parts.
Token represent a token in code.
TokenMatch store matched token.
Widget represent an HTML input widget Currently not in used.