...

Text file src/github.com/noirbizarre/gonja/testData/function_calls_wrapper.tpl

Documentation: github.com/noirbizarre/gonja/testData

     1{{ simple.func_add(simple.func_add(5, 15), simple.number) + 17 }}
     2{{ simple.func_add_iface(simple.func_add_iface(5, 15), simple.number) + 17 }}
     3{{ simple.func_variadic("hello") }}
     4{{ simple.func_variadic("hello, %s", simple.name) }}
     5{{ simple.func_variadic("%d + %d %s %d", 5, simple.number, "is", 49) }}
     6{{ simple.func_variadic_sum_int() }}
     7{{ simple.func_variadic_sum_int(1) }}
     8{{ simple.func_variadic_sum_int(1, 19, 185) }}
     9{{ simple.func_variadic_sum_int2() }}
    10{{ simple.func_variadic_sum_int2(2) }}
    11{{ simple.func_variadic_sum_int2(1, 7, 100) }}
    12{{ simple.func_with_varargs(1) }}
    13{{ simple.func_with_varargs(1, 2) }}
    14{{ simple.func_with_varargs(a='a') }}
    15{{ simple.func_with_varargs(a='a', b='b') }}
    16{{ simple.func_with_varargs(1, 2, 3, a='a', b='b', c='c') }}

View as plain text