We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180ee3a commit fb532cfCopy full SHA for fb532cf
examples/basic/templates/txttmpl/missingkey.go
@@ -9,7 +9,7 @@ import (
9
// MissingKey -- text/template の missingkey=zero オプション指定時のサンプルです。
10
//
11
// Template.Option("missingkey=zero")の設定を行い、テンプレートに対して map[string]any をデータとして指定した場合
12
-// キーに対応する値が nil の場合、"<no value>" と表示されることに注意。(マップの値の方の方がanyのため)
+// キーが存在しないの場合、"<no value>" と表示されることに注意。(マップの値の方の方がanyのため)
13
14
// 当然、any以外の場合はその型のゼロ値となる。
15
0 commit comments