Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFiles ¶
func ParseFiles(fs http.FileSystem, t *template.Template, filenames ...string) (*template.Template, error)
ParseFiles creates a new Template if t is nil and parses the template definitions from the named files. The returned template's name will have the (base) name and (parsed) contents of the first file. There must be at least one file. If an error occurs, parsing stops and the returned *Template is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.