In a Go template, you can retrieve a field like this:
template.Parse("<html><body>{{ .Title }}</body></html>")
template.Execute(w, myObject)
How would you "inline" the current UTC year? I want to do something like this:
template.Parse("<html><body>The current year is {{time.Time.Now().UTC().Year()}}</body></html>")
But it returns the error:
panic: template: function "time" not defined