Code convention

This commit is contained in:
Unknown 2014-05-21 21:37:13 -04:00
parent 1331134316
commit 5e9a45f74a
7 changed files with 119 additions and 121 deletions

View file

@ -10,6 +10,7 @@ import (
"encoding/json"
"fmt"
"html/template"
"runtime"
"strings"
"time"
)
@ -47,6 +48,9 @@ var mailDomains = map[string]string{
}
var TemplateFuncs template.FuncMap = map[string]interface{}{
"GoVer": func() string {
return runtime.Version()
},
"AppName": func() string {
return AppName
},