are stored in separate files normally in an html file that contains an mostly HTML segment along with handlebar like variables {{ .variableName }}.
import io/html/template
t, _ := template.ParseFiles("templateName.html") //name of new template is “t” and we do not have an error variable.
p := MyTemplateStruct{
Title: "someTile",
OtherSomthing: "somethingElse",
Num: 13} // struct to enable multiple values pass.
t.Execute((w,p))