15.2. Directives

As you may have guess from the previous example:

When no <%@params ... %> exists, the function is assumed to have a single params parameter.

Warning

The template engine is a simple one and makes no verification either on the templates or the resulting Golo source code. The compile method may throw a GoloCompilation exception though, and you can query the exception getSourceCode() and getProblems() methods to obtain more details.