]> Cypherpunks repositories - gostls13.git/commit
html/template: make more use of stringer
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 20 Feb 2018 10:02:10 +0000 (10:02 +0000)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 20 Feb 2018 15:44:01 +0000 (15:44 +0000)
commit2e78f2afdb6714f2eb902d16039f4c475c2282f3
treee16f1191563c825aae170b64fd07574b5a529d8c
parentaf7fc752b1c0fe409ad59480aa6f7b290410c92b
html/template: make more use of stringer

The code was maintaining manual versions of it in multiple places -
replace all of them.

Change-Id: I04c3063877b05ba914de9f5dddb33ffe09f308fe
Reviewed-on: https://go-review.googlesource.com/95356
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/html/template/context.go
src/html/template/delim_string.go [new file with mode: 0644]
src/html/template/element_string.go [new file with mode: 0644]
src/html/template/jsctx_string.go [new file with mode: 0644]
src/html/template/state_string.go [new file with mode: 0644]
src/html/template/urlpart_string.go [new file with mode: 0644]