You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
panic: template: test:2: function "blockapply" not defined
goroutine 1 [running]:
text/template.Must(...)
/usr/local/go-faketime/src/text/template/helper.go:23
main.main()
/tmp/sandbox276814028/prog.go:16 +0x28b
Program exited: status 2.
The text was updated successfully, but these errors were encountered:
lucasew
changed the title
proposal: Template block function that receives what is inside the block as input
proposal: text/template: Template block function that receives what is inside the block as input
Feb 7, 2021
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/SYFeODZTB4G
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: