golang ã® html/template ã«ã¤ãã¦æ¸ãããããã°çãè²ã è¦ã¦ããã¨ãã¿ããªã¬ã¤ã¢ã¦ãã¨ã³ã³ãã³ãã®åé¢ã«è¦å´ãã¦ããæããã£ãã®ã§ã©ããããæ¸ãã¦ããã¾ãã t.ExecuteTemplate(w, "content", data) Go ã® html/template ã¯ãã³ãã¬ã¼ãã®å称ãæå®ã㦠ExecuteTemplate ãå®è¡ãã¾ããããã html/template ã«ã¯ããã® content ãå²ã layout ãã³ãã¬ã¼ããæå®ããæ¹æ³ãããã¾ãããç¹ã«ä»¥ä¸ã®æ§ã« ParseGlob ã使ã£ãå ´åãå html ã§åã content ã¨ããåå㧠define ããäºã¯åºæ¥ã¾ããã template.ParseGlob("public/views/*.html") ããããã®ã¯ layout ã¨ãããã³ãã¬ã¼ãã®ä¸ãã content ã¨ããå称
{{#tags}}- {{label}}
{{/tags}}