func TestExamples(t *testing.T) { … } func formatFile(t *testing.T, fset *token.FileSet, n *ast.File) string { … } // This example illustrates how to use NewFromFiles // to compute package documentation with examples. func ExampleNewFromFiles() { … } func TestClassifyExamples(t *testing.T) { … } func exampleNames(exs []*doc.Example) (out []string) { … } func mustParse(fset *token.FileSet, filename, src string) *ast.File { … }