ãgolangã§htmlãã¡ã¤ã«ã®ä¸é¨ãå¥ãã¡ã¤ã«ã«åããã«ã¯ãã§ããã³ãã¬ã¼ããã¡ã¤ã«ãåå²ããã¨ã³ããªãæ¸ãã¾ãããåå²ãããã¡ã¤ã«ããã¼ã¹ããé¢æ°ã¯ãtemplate.ParseFiles(filenames â¦string)ã§ããåå²ãããã¡ã¤ã«ãï¼ï¼ï¼åãªããã®ParserFilesé¢æ°ã§ããã¨æãã¾ããããã£ã¨å¤ããªã£ãããã¡ã¤ã«ãã¹ãã´ãªã´ãªæ¸ããªãã¨ããã¾ããã ã´ãªã´ãªæ¸ããªãã¦ãããæ¹æ³ãããã¾ããããã¯ãtemplate.ParseGlobé¢æ°ã使ç¨ãããã¨ã§ãããã¡ã¤ã«ããã¿ã¼ã³åãããã¨ãã§ãã¾ãã ã¾ãã¯ä¸è¨ã®ã³ã¼ããè¦ã¦ä¸ããã(golang.orgã®Exampleã®è¨³ã§ã) ä¸è¨ã®ã³ã¼ãã¯ã$TMPDIR/template+suffixã¨ãããã£ã¬ã¯ããªã«ãT0.tmpl, T1.tmpl, T2.tmpl ã¨ããï¼ã¤ã®ãã¡ã¤ã«ããã£ãæï¼ãã®ã³ã¼ãã§ã¯ãã¹
{{#tags}}- {{label}}
{{/tags}}