]> Cypherpunks repositories - gostls13.git/commit
html/template: use bytes.ContainsAny
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 25 Apr 2017 11:57:33 +0000 (12:57 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 25 Apr 2017 23:36:25 +0000 (23:36 +0000)
commit6049b1741d47b94a9c80dab7fc165d1eea5429bd
treed55c9dcb46c0100af2736d08c4f57c91b91dd1e6
parent6f45e37bcda68139dcbb4d3aa99e23a4ee67ff89
html/template: use bytes.ContainsAny

It was added in Go 1.7. Also gofmt while at it.

Change-Id: Idb65fb44e2f2a4365dceea3f833aeb51a8d12333
Reviewed-on: https://go-review.googlesource.com/41692
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/html/template/escape.go
src/html/template/transition.go