go/src/text/template
Meng Zhuo 3298300ddf text/template: error on range over send channel
template range require channel contains RecvDir
if recv on send only channel will raise an panic.

Fixes #43065

Change-Id: Ie0ea70ce60e074bf8c9f2378e07ef1d4c41dc38f
Reviewed-on: https://go-review.googlesource.com/c/go/+/276532
Trust: Meng Zhuo <mzh@golangcn.org>
Run-TryBot: Meng Zhuo <mzh@golangcn.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
2020-12-15 13:59:00 +00:00
..
parse text/template: allow newlines inside action delimiters 2020-10-12 16:30:36 +00:00
testdata
doc.go text/template: allow newlines inside action delimiters 2020-10-12 16:30:36 +00:00
example_test.go
examplefiles_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
examplefunc_test.go
exec.go text/template: error on range over send channel 2020-12-15 13:59:00 +00:00
exec_test.go text/template: error on range over send channel 2020-12-15 13:59:00 +00:00
funcs.go html/template,text/template: switch to Unicode escapes for JSON compatibility 2020-04-16 17:13:33 +00:00
helper.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
link_test.go all: update to use os.ReadFile, os.WriteFile, os.CreateTemp, os.MkdirTemp 2020-12-09 19:12:23 +00:00
multi_test.go html/template, text/template: add ParseFS 2020-10-20 18:41:14 +00:00
option.go
template.go text/template: avoid a global map to help the linker's deadcode elimination 2020-04-15 15:30:46 +00:00