aboutsummaryrefslogtreecommitdiff
path: root/models/comment.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2019-10-23 23:03:17 -0700
committerGitHub <noreply@github.com>2019-10-23 23:03:17 -0700
commit613139e7bef81d3573e7988a47eb6765f3de347a (patch)
tree49de7277898d3ff47a122c072568edb8ed4c9ac9 /models/comment.go
parentfb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff)
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
Diffstat (limited to 'models/comment.go')
-rw-r--r--models/comment.go8
1 files changed, 4 insertions, 4 deletions
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.