#golang #templating #template

go-template

The Golang Templating Language for Rust

3 releases

0.0.3 Sep 7, 2022
0.0.2 Jul 19, 2022
0.0.1 Jun 21, 2022

#337 in Template engine

MIT license

175KB
5K SLoC

go template for rust


lib.rs:

The Golang Templating Language for Rust.

Example

use gtmpl;

let output = gtmpl::template("Finally! Some {{ . }} for Rust", "gtmpl");
assert_eq!(&output.unwrap(), "Finally! Some gtmpl for Rust");

Dependencies

~0.5–1MB
~23K SLoC