From d05395fe906dad7741201faa69a54fef538deda9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 4 Apr 2017 19:29:59 -0400 Subject: 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 --- models/wiki.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/wiki.go') diff --git a/models/wiki.go b/models/wiki.go index 20285e3d..24d07938 100644 --- a/models/wiki.go +++ b/models/wiki.go @@ -17,8 +17,8 @@ import ( "github.com/gogits/git-module" - "github.com/gogits/gogs/modules/setting" - "github.com/gogits/gogs/modules/sync" + "github.com/gogits/gogs/pkg/setting" + "github.com/gogits/gogs/pkg/sync" ) var wikiWorkingPool = sync.NewExclusivePool() -- cgit v1.2.3