From 613139e7bef81d3573e7988a47eb6765f3de347a Mon Sep 17 00:00:00 2001 From: Unknwon Date: Wed, 23 Oct 2019 23:03:17 -0700 Subject: Enable Go modules (#5835) * Remove vendor * Enable Go modules * ci: add command to fetch dependencies * ci: update setting * ci: update settings * Require Go 1.11 * Rename module name to gogs.io/gogs --- models/repo_editor.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'models/repo_editor.go') diff --git a/models/repo_editor.go b/models/repo_editor.go index bb4b6300..19eb9597 100644 --- a/models/repo_editor.go +++ b/models/repo_editor.go @@ -16,15 +16,15 @@ import ( "strings" "time" - "github.com/Unknwon/com" + "github.com/unknwon/com" gouuid "github.com/satori/go.uuid" "github.com/gogs/git-module" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/process" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/tool" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/process" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/tool" ) const ( @@ -484,7 +484,7 @@ func (repo *Repository) UploadRepoFiles(doer *User, opts UploadRepoFileOptions) continue } - // Prevent copying files into .git directory, see https://github.com/gogs/gogs/issues/5558. + // Prevent copying files into .git directory, see https://gogs.io/gogs/issues/5558. if isRepositoryGitPath(upload.Name) { continue } -- cgit v1.2.3