summaryrefslogtreecommitdiffstats
path: root/routers/api
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 /routers/api
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 'routers/api')
-rw-r--r--routers/api/v1/admin/org.go2
-rw-r--r--routers/api/v1/admin/org_team.go2
-rw-r--r--routers/api/v1/admin/repo.go2
-rw-r--r--routers/api/v1/admin/user.go2
-rw-r--r--routers/api/v1/api.go2
-rw-r--r--routers/api/v1/convert/convert.go2
-rw-r--r--routers/api/v1/misc/markdown.go2
-rw-r--r--routers/api/v1/org/org.go2
-rw-r--r--routers/api/v1/org/team.go2
-rw-r--r--routers/api/v1/repo/branch.go2
-rw-r--r--routers/api/v1/repo/collaborators.go2
-rw-r--r--routers/api/v1/repo/hook.go2
-rw-r--r--routers/api/v1/repo/issue.go2
-rw-r--r--routers/api/v1/repo/issue_comment.go2
-rw-r--r--routers/api/v1/repo/issue_label.go2
-rw-r--r--routers/api/v1/repo/key.go2
-rw-r--r--routers/api/v1/repo/label.go2
-rw-r--r--routers/api/v1/repo/milestone.go2
-rw-r--r--routers/api/v1/repo/repo.go2
-rw-r--r--routers/api/v1/user/app.go2
-rw-r--r--routers/api/v1/user/email.go2
-rw-r--r--routers/api/v1/user/follower.go2
-rw-r--r--routers/api/v1/user/key.go2
-rw-r--r--routers/api/v1/user/user.go2
24 files changed, 24 insertions, 24 deletions
diff --git a/routers/api/v1/admin/org.go b/routers/api/v1/admin/org.go
index 5a50e66eea..1162c96c5f 100644
--- a/routers/api/v1/admin/org.go
+++ b/routers/api/v1/admin/org.go
@@ -5,7 +5,7 @@
package admin
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/admin/org_team.go b/routers/api/v1/admin/org_team.go
index 3b5438b720..b1964ff728 100644
--- a/routers/api/v1/admin/org_team.go
+++ b/routers/api/v1/admin/org_team.go
@@ -5,7 +5,7 @@
package admin
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/admin/repo.go b/routers/api/v1/admin/repo.go
index d6c59346d8..69187dc367 100644
--- a/routers/api/v1/admin/repo.go
+++ b/routers/api/v1/admin/repo.go
@@ -5,7 +5,7 @@
package admin
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/routers/api/v1/repo"
diff --git a/routers/api/v1/admin/user.go b/routers/api/v1/admin/user.go
index 91bf57079f..c868c62104 100644
--- a/routers/api/v1/admin/user.go
+++ b/routers/api/v1/admin/user.go
@@ -5,7 +5,7 @@
package admin
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index 0accf71111..08fc2c75e6 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -10,7 +10,7 @@ import (
"github.com/go-macaron/binding"
"gopkg.in/macaron.v1"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 59431e92fa..a736b827af 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -10,7 +10,7 @@ import (
"github.com/Unknwon/com"
"code.gitea.io/git"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
)
diff --git a/routers/api/v1/misc/markdown.go b/routers/api/v1/misc/markdown.go
index 5007803899..b4974ce466 100644
--- a/routers/api/v1/misc/markdown.go
+++ b/routers/api/v1/misc/markdown.go
@@ -5,7 +5,7 @@
package misc
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/modules/markdown"
diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go
index d568b89e27..cc847af8db 100644
--- a/routers/api/v1/org/org.go
+++ b/routers/api/v1/org/org.go
@@ -5,7 +5,7 @@
package org
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go
index 88553786a8..ae67461bee 100644
--- a/routers/api/v1/org/team.go
+++ b/routers/api/v1/org/team.go
@@ -5,7 +5,7 @@
package org
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/routers/api/v1/convert"
diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go
index c6fabda6f3..39215ed462 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routers/api/v1/repo/branch.go
@@ -5,7 +5,7 @@
package repo
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/modules/context"
"code.gitea.io/gitea/routers/api/v1/convert"
diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go
index 86d5924b36..4cad20b60c 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routers/api/v1/repo/collaborators.go
@@ -5,7 +5,7 @@
package repo
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go
index fc0789a06e..226b50db9f 100644
--- a/routers/api/v1/repo/hook.go
+++ b/routers/api/v1/repo/hook.go
@@ -9,7 +9,7 @@ import (
"github.com/Unknwon/com"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go
index d1d9b47d18..c73bf5dbb5 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routers/api/v1/repo/issue.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index cf1ca0a029..cf9a3eae0f 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routers/api/v1/repo/issue_comment.go
@@ -6,7 +6,7 @@ package repo
import (
"time"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go
index c3648e05d0..46d976253a 100644
--- a/routers/api/v1/repo/issue_label.go
+++ b/routers/api/v1/repo/issue_label.go
@@ -5,7 +5,7 @@
package repo
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go
index 228fde529f..4d4240c290 100644
--- a/routers/api/v1/repo/key.go
+++ b/routers/api/v1/repo/key.go
@@ -7,7 +7,7 @@ package repo
import (
"fmt"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go
index f3d632ea44..009e8d8a0b 100644
--- a/routers/api/v1/repo/label.go
+++ b/routers/api/v1/repo/label.go
@@ -5,7 +5,7 @@
package repo
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go
index e80fcf8b39..2c6a93f826 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routers/api/v1/repo/milestone.go
@@ -7,7 +7,7 @@ package repo
import (
"time"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go
index 08c246a998..02eb82d0fd 100644
--- a/routers/api/v1/repo/repo.go
+++ b/routers/api/v1/repo/repo.go
@@ -7,7 +7,7 @@ package repo
import (
"path"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/auth"
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go
index a822bd3185..e678aaff53 100644
--- a/routers/api/v1/user/app.go
+++ b/routers/api/v1/user/app.go
@@ -5,7 +5,7 @@
package user
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go
index e5519e7e2f..2503d01a44 100644
--- a/routers/api/v1/user/email.go
+++ b/routers/api/v1/user/email.go
@@ -5,7 +5,7 @@
package user
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go
index c738dc9a73..594c365177 100644
--- a/routers/api/v1/user/follower.go
+++ b/routers/api/v1/user/follower.go
@@ -5,7 +5,7 @@
package user
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go
index 35f176a24c..6df405a16c 100644
--- a/routers/api/v1/user/key.go
+++ b/routers/api/v1/user/key.go
@@ -5,7 +5,7 @@
package user
import (
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"
diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go
index 7fa5126773..c6a454cc4a 100644
--- a/routers/api/v1/user/user.go
+++ b/routers/api/v1/user/user.go
@@ -7,7 +7,7 @@ package user
import (
"github.com/Unknwon/com"
- api "code.gitea.io/go-sdk/gitea"
+ api "code.gitea.io/sdk/gitea"
"code.gitea.io/gitea/models"
"code.gitea.io/gitea/modules/context"