1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-19 08:48:37 +00:00

Golint fixed for modules/template

This commit is contained in:
Lunny Xiao
2016-11-25 14:23:48 +08:00
parent 6a28909f40
commit 229ec927b9
4 changed files with 28 additions and 16 deletions

View File

@@ -64,6 +64,7 @@ var (
highlightMapping = map[string]string{}
)
// NewContext loads highlight map
func NewContext() {
keys := setting.Cfg.Section("highlight.mapping").Keys()
for i := range keys {