diff options
| author | Russ Cox <rsc@golang.org> | 2011-11-01 22:05:34 -0400 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2011-11-01 22:05:34 -0400 |
| commit | eb6929299b6da3d9bea1fa7f7cd319c2de9242bb (patch) | |
| tree | d3309a8985202985334709bc50e1a737ea117593 /src/pkg/template/parse/node.go | |
| parent | c2049d2dfeeea3d41fafa91e3e3f0e47c285355b (diff) | |
| download | go-eb6929299b6da3d9bea1fa7f7cd319c2de9242bb.tar.xz | |
src/pkg/[n-z]*: gofix -r error -force=error
R=golang-dev, bsiegert, iant
CC=golang-dev
https://golang.org/cl/5294074
Diffstat (limited to 'src/pkg/template/parse/node.go')
| -rw-r--r-- | src/pkg/template/parse/node.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/template/parse/node.go b/src/pkg/template/parse/node.go index 7411327a65..a4e5514768 100644 --- a/src/pkg/template/parse/node.go +++ b/src/pkg/template/parse/node.go @@ -9,7 +9,6 @@ package parse import ( "bytes" "fmt" - "os" "strconv" "strings" ) @@ -239,7 +238,7 @@ type NumberNode struct { Text string // The original textual representation from the input. } -func newNumber(text string, typ itemType) (*NumberNode, os.Error) { +func newNumber(text string, typ itemType) (*NumberNode, error) { n := &NumberNode{NodeType: NodeNumber, Text: text} switch typ { case itemCharConstant: |
