Skip to content

Instantly share code, notes, and snippets.

@Cibernomadas Cibernomadas/main.go
Created Jun 18, 2018

What would you like to do?
func TemplatePartials() []string {
return []string{
path.Join("partials", "menu"),
path.Join("partials", "error"),
func TemplateFuncs() template.FuncMap {
return template.FuncMap{
"year": func() string {
return time.Now().Format("2006")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.