summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorThomas Boerger <tboerger@suse.de>2016-11-07 16:02:19 +0100
committerThomas Boerger <tboerger@suse.de>2016-11-07 16:10:32 +0100
commit4c6c16f358a67d31b1cde8642d4175a336fdcbf0 (patch)
tree1d6b23c470779563bcbdcc19129bf8c93a5d55f3 /routers
parent77f9c7e5715024aaf839bfd029eb951fad2e97d5 (diff)
downloadgitea-4c6c16f358a67d31b1cde8642d4175a336fdcbf0.tar.gz
gitea-4c6c16f358a67d31b1cde8642d4175a336fdcbf0.zip
Replaced go-gogs-client with go-sdk imports
Diffstat (limited to 'routers')
-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
-rw-r--r--routers/repo/webhook.go2
25 files changed, 25 insertions, 25 deletions
diff --git a/routers/api/v1/admin/org.go b/routers/api/v1/admin/org.go
index 5e594e1e5f..1deaa34b43 100644
--- a/routers/api/v1/admin/org.go
+++ b/routers/api/v1/admin/org.go
@@ -5,7 +5,7 @@
package admin
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/admin/org_team.go b/routers/api/v1/admin/org_team.go
index 7a28d9566e..2058ea0021 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/admin/repo.go b/routers/api/v1/admin/repo.go
index e673447c4b..1ddf65c5ea 100644
--- a/routers/api/v1/admin/repo.go
+++ b/routers/api/v1/admin/repo.go
@@ -5,7 +5,7 @@
package admin
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/routers/api/v1/repo"
diff --git a/routers/api/v1/admin/user.go b/routers/api/v1/admin/user.go
index b25c687d2f..1234dbf0c7 100644
--- a/routers/api/v1/admin/user.go
+++ b/routers/api/v1/admin/user.go
@@ -5,7 +5,7 @@
package admin
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index 2d468eae5f..2deafa23c1 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 94a918be48..a43e00077a 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -10,7 +10,7 @@ import (
"github.com/Unknwon/com"
"github.com/go-gitea/git"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
)
diff --git a/routers/api/v1/misc/markdown.go b/routers/api/v1/misc/markdown.go
index 8ca5cde953..296f7fabab 100644
--- a/routers/api/v1/misc/markdown.go
+++ b/routers/api/v1/misc/markdown.go
@@ -5,7 +5,7 @@
package misc
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/modules/markdown"
diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go
index 3f26f5510d..98dc74ae7c 100644
--- a/routers/api/v1/org/org.go
+++ b/routers/api/v1/org/org.go
@@ -5,7 +5,7 @@
package org
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/org/team.go b/routers/api/v1/org/team.go
index 0c87ce26b9..bb3c8f6fcb 100644
--- a/routers/api/v1/org/team.go
+++ b/routers/api/v1/org/team.go
@@ -5,7 +5,7 @@
package org
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/routers/api/v1/convert"
diff --git a/routers/api/v1/repo/branch.go b/routers/api/v1/repo/branch.go
index f4327378dc..06f51bc263 100644
--- a/routers/api/v1/repo/branch.go
+++ b/routers/api/v1/repo/branch.go
@@ -5,7 +5,7 @@
package repo
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/context"
"github.com/go-gitea/gitea/routers/api/v1/convert"
diff --git a/routers/api/v1/repo/collaborators.go b/routers/api/v1/repo/collaborators.go
index cfb2118905..13cba48141 100644
--- a/routers/api/v1/repo/collaborators.go
+++ b/routers/api/v1/repo/collaborators.go
@@ -5,7 +5,7 @@
package repo
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/hook.go b/routers/api/v1/repo/hook.go
index 315172199b..3d0bb80a7c 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go
index 9193c02106..4e5369961f 100644
--- a/routers/api/v1/repo/issue.go
+++ b/routers/api/v1/repo/issue.go
@@ -8,7 +8,7 @@ import (
"fmt"
"strings"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index 71ce19fe33..28751008da 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/issue_label.go b/routers/api/v1/repo/issue_label.go
index 0d520a4f93..8f56afd61b 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/key.go b/routers/api/v1/repo/key.go
index ec60bc516b..adac6a6e69 100644
--- a/routers/api/v1/repo/key.go
+++ b/routers/api/v1/repo/key.go
@@ -7,7 +7,7 @@ package repo
import (
"fmt"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/label.go b/routers/api/v1/repo/label.go
index efa68b0a1d..1e4f78f59e 100644
--- a/routers/api/v1/repo/label.go
+++ b/routers/api/v1/repo/label.go
@@ -5,7 +5,7 @@
package repo
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/milestone.go b/routers/api/v1/repo/milestone.go
index 8913190f6d..4e4b40ae9f 100644
--- a/routers/api/v1/repo/milestone.go
+++ b/routers/api/v1/repo/milestone.go
@@ -7,7 +7,7 @@ package repo
import (
"time"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/repo/repo.go b/routers/api/v1/repo/repo.go
index e6890ca33d..0b28ee0f92 100644
--- a/routers/api/v1/repo/repo.go
+++ b/routers/api/v1/repo/repo.go
@@ -7,7 +7,7 @@ package repo
import (
"path"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"
diff --git a/routers/api/v1/user/app.go b/routers/api/v1/user/app.go
index 90b571dbba..0e8081f5f4 100644
--- a/routers/api/v1/user/app.go
+++ b/routers/api/v1/user/app.go
@@ -5,7 +5,7 @@
package user
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/user/email.go b/routers/api/v1/user/email.go
index 1643f2b0ae..1667ee5984 100644
--- a/routers/api/v1/user/email.go
+++ b/routers/api/v1/user/email.go
@@ -5,7 +5,7 @@
package user
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/user/follower.go b/routers/api/v1/user/follower.go
index 0f0e7fcec3..661bdcbcef 100644
--- a/routers/api/v1/user/follower.go
+++ b/routers/api/v1/user/follower.go
@@ -5,7 +5,7 @@
package user
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/user/key.go b/routers/api/v1/user/key.go
index ba4c1e1ee1..316ebb65c9 100644
--- a/routers/api/v1/user/key.go
+++ b/routers/api/v1/user/key.go
@@ -5,7 +5,7 @@
package user
import (
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/api/v1/user/user.go b/routers/api/v1/user/user.go
index 6258662b68..e7322d725f 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 "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/context"
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index aae3231b36..3cb6d1d27e 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -13,7 +13,7 @@ import (
"github.com/Unknwon/com"
"github.com/go-gitea/git"
- api "github.com/gogits/go-gogs-client"
+ api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/auth"