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
This commit is contained in:
Unknwon
2017-04-04 19:29:59 -04:00
parent 37b10666de
commit d05395fe90
138 changed files with 275 additions and 275 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/urfave/cli"
"github.com/gogits/gogs/cmd"
"github.com/gogits/gogs/modules/setting"
"github.com/gogits/gogs/pkg/setting"
)
const APP_VER = "0.11.2.0404"