package
0.32.13
Repository: https://github.com/fasterci/rules_gitops.git
Documentation: pkg.go.dev

# README

fasttemplate

Simple and fast template engine for Go. Forked from fasttemplate.

This package was modified from the original one:

  1. usage of unsafe is removed
  2. usage of buffer pools is removed

Please note that fasttemplate doesn't do any escaping on template values unlike html/template do. So values must be properly escaped before passing them to fasttemplate.

# Functions

Execute substitutes template tags (placeholders) with the corresponding values from the map m and writes the result to the given writer w.
ExecuteString substitutes template tags (placeholders) with the corresponding values from the map m and returns the result.

# Type aliases

TagFunc can be used as a substitution value in the map passed to Execute*.