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/comment.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'models/comment.go') diff --git a/models/comment.go b/models/comment.go index 67fc2511..e3726ffe 100644 --- a/models/comment.go +++ b/models/comment.go @@ -9,14 +9,14 @@ import ( "strings" "time" - "github.com/Unknwon/com" - "github.com/go-xorm/xorm" + "github.com/unknwon/com" + "xorm.io/xorm" log "gopkg.in/clog.v1" api "github.com/gogs/go-gogs-client" - "github.com/gogs/gogs/models/errors" - "github.com/gogs/gogs/pkg/markup" + "gogs.io/gogs/models/errors" + "gogs.io/gogs/pkg/markup" ) // CommentType defines whether a comment is just a simple comment, an action (like close) or a reference. -- cgit v1.2.3