The go code
TMPL, err:=template. ParseFiles (" index. The TPL ")
if err ! Nil={
FMT. Println (" err ")
Panic (err)
}
FMT. Println (TMPL. Name ())
Name:="index"
TMPL. Delims (" & lt; ", "% % & gt;" ). The Execute (w, name)
FMT. Println (" Works ")
HTML template
<meta HTTP - equiv="content-type" Content="text/HTML. Charset=utf-8 "& gt;Layout
<body>
The template data: {{...}} & lt;/h3 & gt;