aboutsummaryrefslogtreecommitdiff
path: root/routers/dev
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-04-04 19:29:59 -0400
committerUnknwon <u@gogs.io>2017-04-04 19:29:59 -0400
commitd05395fe906dad7741201faa69a54fef538deda9 (patch)
tree11dae6c5c9b40b8ce85c7294bd0309c03cb1199e /routers/dev
parent37b10666dea98cebf75d0c6f11ee87211ef94703 (diff)
Refactoring: rename modules -> pkg
Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory
Diffstat (limited to 'routers/dev')
-rw-r--r--routers/dev/template.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/routers/dev/template.go b/routers/dev/template.go
index ee81f380..081ab4a0 100644
--- a/routers/dev/template.go
+++ b/routers/dev/template.go
@@ -6,9 +6,9 @@ package dev
import (
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/base"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/base"
+ "github.com/gogits/gogs/pkg/context"
+ "github.com/gogits/gogs/pkg/setting"
)
func TemplatePreview(ctx *context.Context) {