]> Cypherpunks repositories - gostls13.git/commit
text/template: add an if func example
authorlinmaolin <linlin152@foxmail.com>
Thu, 6 Mar 2025 00:41:02 +0000 (00:41 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 7 Mar 2025 19:32:13 +0000 (11:32 -0800)
commite0b110b926c47227aa0669b630f5292152945bba
tree2ce6ad7bc9fd64719ca3ecce2d719400f1aab4ff
parent812a44ebd0a34ba2985f7f10c451fd210d5bab15
text/template: add an if func example

Updates #13880

Change-Id: I0fd3b1a32e485bc8f15238c86a8bbdc161f20fa5
GitHub-Last-Rev: d1e92b31243c86435add422ee46aaff768453cad
GitHub-Pull-Request: golang/go#71922
Reviewed-on: https://go-review.googlesource.com/c/go/+/651916
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Junyang Shao <shaojunyang@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/text/template/examplefunc_test.go