mirror of
https://github.com/gogs/gogs.git
synced 2025-12-22 00:00:07 +01:00
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:
@@ -7,7 +7,7 @@ package admin
|
||||
import (
|
||||
"github.com/gogits/gogs/models"
|
||||
"github.com/gogits/gogs/models/errors"
|
||||
"github.com/gogits/gogs/modules/context"
|
||||
"github.com/gogits/gogs/pkg/context"
|
||||
)
|
||||
|
||||
func GetRepositoryByParams(ctx *context.APIContext) *models.Repository {
|
||||
|
||||
Reference in New Issue
Block a user