"os"
"runtime"
"strconv"
- "exp/template"
+ "template"
)
var (
import (
"container/vector"
- "exp/template"
"fmt"
"http"
"io"
"sort"
"strconv"
"strings"
+ "template"
"utf8"
"xml"
)
package main
import (
- "exp/template"
"fmt"
"go/scanner"
"go/token"
"io"
"regexp"
"strconv"
+ "template"
)
// ----------------------------------------------------------------------------
import (
"bytes"
- "exp/template"
"flag"
"fmt"
"go/ast"
"runtime"
"sort"
"strings"
+ "template"
"time"
)
import (
"bytes"
- "exp/template"
"go/build"
"os"
"path/filepath"
"strings"
+ "template"
)
// domake builds the package in dir.
exp/gui/x11\
exp/norm\
exp/regexp/syntax\
- exp/template\
exp/template/html\
- exp/template/parse\
expvar\
flag\
fmt\
syscall\
syslog\
tabwriter\
+ template\
+ template/parse\
testing\
testing/iotest\
testing/quick\
package html
import (
- "exp/template"
- "exp/template/parse"
"fmt"
+ "template"
+ "template/parse"
)
// Reverse reverses a template.
import (
"bytes"
- "exp/template"
+ "template"
"testing"
)
"io"
"regexp"
"strings"
- "exp/template" // for HTMLEscape
+ "template" // for HTMLEscape
)
func isWhitespace(ch byte) bool { return ch == ' ' || ch == '\t' || ch == '\n' || ch == '\r' }
*/
import (
- "exp/template"
"fmt"
"http"
"sort"
+ "template"
)
const debugText = `<html>
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../../../Make.inc
+include ../../Make.inc
-TARG=exp/template/parse
+TARG=template
GOFILES=\
- lex.go\
- node.go\
+ exec.go\
+ funcs.go\
+ helper.go\
parse.go\
set.go\
-include ../../../../Make.pkg
+include ../../Make.pkg
package template
import (
- "exp/template/parse"
"fmt"
"io"
"os"
"reflect"
"runtime"
"strings"
+ "template/parse"
)
// state represents the state of an execution. It's not part of the
package template
import (
- "exp/template/parse"
"os"
"reflect"
+ "template/parse"
)
// Template is the representation of a parsed template.
include ../../../Make.inc
-TARG=exp/template
+TARG=template/parse
GOFILES=\
- exec.go\
- funcs.go\
- helper.go\
+ lex.go\
+ node.go\
parse.go\
set.go\
// license that can be found in the LICENSE file.
// Package parse builds parse trees for templates. The grammar is defined
-// in the documents for the exp/template package.
+// in the documents for the template package.
package parse
import (
package template
import (
- "exp/template/parse"
"fmt"
"io"
"os"
"reflect"
+ "template/parse"
)
// Set holds a set of related templates that can refer to one another by name.