pub fn println(args: &[Value]) -> Result<Value, FuncError>Expand description
An implementation of golang’s fmt.Sprintln
Sprintln formats using the default formats for its operands and returns the resulting string. Spaces are always added between operands and a newline is appended.
§Example
use gtmpl::template;
let equal = template(r#"{{ println "Hello" . "!" }}"#, "world");
assert_eq!(&equal.unwrap(), "Hello world !\n");