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/git_diff.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'models/git_diff.go') diff --git a/models/git_diff.go b/models/git_diff.go index cfaf5286..f6bdea2d 100644 --- a/models/git_diff.go +++ b/models/git_diff.go @@ -17,9 +17,9 @@ import ( "github.com/gogs/git-module" - "github.com/gogs/gogs/pkg/setting" - "github.com/gogs/gogs/pkg/template/highlight" - "github.com/gogs/gogs/pkg/tool" + "gogs.io/gogs/pkg/setting" + "gogs.io/gogs/pkg/template/highlight" + "gogs.io/gogs/pkg/tool" ) type DiffSection struct { -- cgit v1.2.3