Documentation ¶ Index ¶ func Render(input string, payload interface{}) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Render ¶ func Render(input string, payload interface{}) (string, error) Render parses and executes a template, returning the results as string format. Trailing or leading spaces or new-lines are not getting truncated. It is able to read templates from remote paths, local files or directly from the string. Types ¶ This section is empty. Source Files ¶ View all Source files template.go Click to show internal directories. Click to hide internal directories.