1
0
Fork 0
forked from forgejo/forgejo

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 {