Discover Packages
github.com/gotpl/gtfmt
gtfmt
package
Version:
v0.0.0-...-2f7d48a
Opens a new window with list of versions in this module.
Published: Nov 4, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Fix replaces orig with repl in tpl. tpl must be a valid go template. Orig
must be a valid template function name or . path (e.g. .Foo.Bar). Paths
*must* start with a ".".
Format formats the code inside your template statements without changing any
other surrounding text.
Formatted reports whether the text in the given template is correctly formatted.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.