summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorSandro Santilli <strk@kbt.io>2016-11-11 10:39:44 +0100
committerLunny Xiao <xiaolunwen@gmail.com>2016-11-11 17:39:44 +0800
commita1c5f02444b5124a8a96a57769e00728e828c7fc (patch)
tree47282e3a97e11b4eeaeadb0feefd74d6a0af1b0f /models
parent96c9fef35f919fc2809cff989e215955402fa3f7 (diff)
downloadgitea-a1c5f02444b5124a8a96a57769e00728e828c7fc.tar.gz
gitea-a1c5f02444b5124a8a96a57769e00728e828c7fc.zip
Fix import path of go-sdk (#141)
From code.gitea.io/go-sdk/gitea To code.gitea.io/sdk/gitea
Diffstat (limited to 'models')
-rw-r--r--models/action.go2
-rw-r--r--models/issue.go2
-rw-r--r--models/issue_comment.go2
-rw-r--r--models/issue_label.go2
-rw-r--r--models/pull.go2
-rw-r--r--models/repo.go2
-rw-r--r--models/user.go2
-rw-r--r--models/webhook.go2
-rw-r--r--models/webhook_slack.go2
9 files changed, 9 insertions, 9 deletions
diff --git a/models/action.go b/models/action.go
index 7dd8b3adca..29cf74a800 100644
--- a/models/action.go
+++ b/models/action.go
@@ -17,7 +17,7 @@ import (
"github.com/go-xorm/xorm"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/modules/log"
diff --git a/models/issue.go b/models/issue.go
index 4f6d374750..67ee14cb93 100644
--- a/models/issue.go
+++ b/models/issue.go
@@ -16,7 +16,7 @@ import (
"github.com/Unknwon/com"
"github.com/go-xorm/xorm"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
gouuid "github.com/satori/go.uuid"
"code.gitea.io/gitea/modules/base"
diff --git a/models/issue_comment.go b/models/issue_comment.go
index 7c46d25736..c7aa7e2b13 100644
--- a/models/issue_comment.go
+++ b/models/issue_comment.go
@@ -12,7 +12,7 @@ import (
"github.com/Unknwon/com"
"github.com/go-xorm/xorm"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/markdown"
diff --git a/models/issue_label.go b/models/issue_label.go
index 83773fda6e..a42219d888 100644
--- a/models/issue_label.go
+++ b/models/issue_label.go
@@ -13,7 +13,7 @@ import (
"github.com/go-xorm/xorm"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/base"
)
diff --git a/models/pull.go b/models/pull.go
index 5815921969..98b9c96059 100644
--- a/models/pull.go
+++ b/models/pull.go
@@ -18,7 +18,7 @@ import (
"code.gitea.io/gitea/modules/sync"
"github.com/go-xorm/xorm"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
)
var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)
diff --git a/models/repo.go b/models/repo.go
index 0af88ca664..7d976cfa7b 100644
--- a/models/repo.go
+++ b/models/repo.go
@@ -29,7 +29,7 @@ import (
"code.gitea.io/gitea/modules/sync"
"github.com/go-xorm/xorm"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
version "github.com/mcuadros/go-version"
ini "gopkg.in/ini.v1"
)
diff --git a/models/user.go b/models/user.go
index 420a1423de..15d8eba0a5 100644
--- a/models/user.go
+++ b/models/user.go
@@ -25,7 +25,7 @@ import (
"github.com/nfnt/resize"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/avatar"
"code.gitea.io/gitea/modules/base"
diff --git a/models/webhook.go b/models/webhook.go
index 9abe0bb0a7..a8d8fd51bb 100644
--- a/models/webhook.go
+++ b/models/webhook.go
@@ -15,7 +15,7 @@ import (
"github.com/go-xorm/xorm"
gouuid "github.com/satori/go.uuid"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/httplib"
"code.gitea.io/gitea/modules/log"
diff --git a/models/webhook_slack.go b/models/webhook_slack.go
index a93efab725..9b70b09354 100644
--- a/models/webhook_slack.go
+++ b/models/webhook_slack.go
@@ -11,7 +11,7 @@ import (
"strings"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/setting"
)