aboutsummaryrefslogtreecommitdiff
path: root/pkg/template
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/template')
-rw-r--r--pkg/template/highlight/highlight.go6
-rw-r--r--pkg/template/template.go8
2 files changed, 7 insertions, 7 deletions
diff --git a/pkg/template/highlight/highlight.go b/pkg/template/highlight/highlight.go
index 05029a4a..11b3967f 100644
--- a/pkg/template/highlight/highlight.go
+++ b/pkg/template/highlight/highlight.go
@@ -8,7 +8,7 @@ import (
"path"
"strings"
- "github.com/gogits/gogs/pkg/setting"
+ "github.com/gogs/gogs/pkg/setting"
)
var (
@@ -21,8 +21,8 @@ var (
// File names that are representing highlight classes.
highlightFileNames = map[string]bool{
"cmakelists.txt": true,
- "dockerfile": true,
- "makefile": true,
+ "dockerfile": true,
+ "makefile": true,
}
// Extensions that are same as highlight classes.
diff --git a/pkg/template/template.go b/pkg/template/template.go
index dc633885..dd92ba61 100644
--- a/pkg/template/template.go
+++ b/pkg/template/template.go
@@ -21,10 +21,10 @@ import (
log "gopkg.in/clog.v1"
"gopkg.in/editorconfig/editorconfig-core-go.v1"
- "github.com/gogits/gogs/models"
- "github.com/gogits/gogs/pkg/markup"
- "github.com/gogits/gogs/pkg/setting"
- "github.com/gogits/gogs/pkg/tool"
+ "github.com/gogs/gogs/models"
+ "github.com/gogs/gogs/pkg/markup"
+ "github.com/gogs/gogs/pkg/setting"
+ "github.com/gogs/gogs/pkg/tool"
)
// TODO: only initialize map once and save to a local variable to reduce copies.