go/src/html/template/examplefiles_test.go

type templateFile

func createTestDir(files []templateFile) string {}

// Here we demonstrate loading a set of templates from a directory.
func ExampleTemplate_glob() {}

// Here we demonstrate loading a set of templates from files in different directories
func ExampleTemplate_parsefiles() {}

// This example demonstrates one way to share some templates
// and use them in different contexts. In this variant we add multiple driver
// templates by hand to an existing bundle of templates.
func ExampleTemplate_helpers() {}

// This example demonstrates how to use one group of driver
// templates with distinct sets of helper templates.
func ExampleTemplate_share() {}