mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Code convention
This commit is contained in:
1 parent
1331134316
commit
5e9a45f74a
7 files changed
+119
-121
No files matched your search
@@ -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
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user