0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-24 00:14:38 +01:00

Replaced go-gogs-client with go-sdk imports

This commit is contained in:
Thomas Boerger 2016-11-07 16:02:19 +01:00
parent 77f9c7e571
commit 4c6c16f358
No known key found for this signature in database
GPG key ID: 5A388F55283960B6
34 changed files with 34 additions and 34 deletions

View file

@ -17,7 +17,7 @@ import (
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
"github.com/go-gitea/git" "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/modules/base" "github.com/go-gitea/gitea/modules/base"
"github.com/go-gitea/gitea/modules/log" "github.com/go-gitea/gitea/modules/log"

View file

@ -16,7 +16,7 @@ import (
"github.com/Unknwon/com" "github.com/Unknwon/com"
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
gouuid "github.com/satori/go.uuid" gouuid "github.com/satori/go.uuid"
"github.com/go-gitea/gitea/modules/base" "github.com/go-gitea/gitea/modules/base"

View file

@ -12,7 +12,7 @@ import (
"github.com/Unknwon/com" "github.com/Unknwon/com"
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/log" "github.com/go-gitea/gitea/modules/log"
"github.com/go-gitea/gitea/modules/markdown" "github.com/go-gitea/gitea/modules/markdown"

View file

@ -13,7 +13,7 @@ import (
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/base" "github.com/go-gitea/gitea/modules/base"
) )

View file

@ -18,7 +18,7 @@ import (
"github.com/go-gitea/gitea/modules/sync" "github.com/go-gitea/gitea/modules/sync"
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
"github.com/go-gitea/git" "github.com/go-gitea/git"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
) )
var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength) var PullRequestQueue = sync.NewUniqueQueue(setting.Repository.PullRequestQueueLength)

View file

@ -29,7 +29,7 @@ import (
"github.com/go-gitea/gitea/modules/sync" "github.com/go-gitea/gitea/modules/sync"
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
"github.com/go-gitea/git" "github.com/go-gitea/git"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
version "github.com/mcuadros/go-version" version "github.com/mcuadros/go-version"
ini "gopkg.in/ini.v1" ini "gopkg.in/ini.v1"
) )

View file

@ -25,7 +25,7 @@ import (
"github.com/nfnt/resize" "github.com/nfnt/resize"
"github.com/go-gitea/git" "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/modules/avatar" "github.com/go-gitea/gitea/modules/avatar"
"github.com/go-gitea/gitea/modules/base" "github.com/go-gitea/gitea/modules/base"

View file

@ -15,7 +15,7 @@ import (
"github.com/go-xorm/xorm" "github.com/go-xorm/xorm"
gouuid "github.com/satori/go.uuid" gouuid "github.com/satori/go.uuid"
api "github.com/gogits/go-gogs-client" api "github.com/go-gitea/go-sdk/gitea"
"github.com/go-gitea/gitea/modules/httplib" "github.com/go-gitea/gitea/modules/httplib"
"github.com/go-gitea/gitea/modules/log" "github.com/go-gitea/gitea/modules/log"

View file

@ -11,7 +11,7 @@ import (
"strings" "strings"
"github.com/go-gitea/git" "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/modules/setting" "github.com/go-gitea/gitea/modules/setting"
) )

View file

@ -5,7 +5,7 @@
package admin package admin
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package admin package admin
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package admin package admin
import ( 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/context"
"github.com/go-gitea/gitea/routers/api/v1/repo" "github.com/go-gitea/gitea/routers/api/v1/repo"

View file

@ -5,7 +5,7 @@
package admin package admin
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -10,7 +10,7 @@ import (
"github.com/go-macaron/binding" "github.com/go-macaron/binding"
"gopkg.in/macaron.v1" "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/models"
"github.com/go-gitea/gitea/modules/auth" "github.com/go-gitea/gitea/modules/auth"

View file

@ -10,7 +10,7 @@ import (
"github.com/Unknwon/com" "github.com/Unknwon/com"
"github.com/go-gitea/git" "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/models"
) )

View file

@ -5,7 +5,7 @@
package misc package misc
import ( 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/context"
"github.com/go-gitea/gitea/modules/markdown" "github.com/go-gitea/gitea/modules/markdown"

View file

@ -5,7 +5,7 @@
package org package org
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package org package org
import ( 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/context"
"github.com/go-gitea/gitea/routers/api/v1/convert" "github.com/go-gitea/gitea/routers/api/v1/convert"

View file

@ -5,7 +5,7 @@
package repo package repo
import ( 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/context"
"github.com/go-gitea/gitea/routers/api/v1/convert" "github.com/go-gitea/gitea/routers/api/v1/convert"

View file

@ -5,7 +5,7 @@
package repo package repo
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -9,7 +9,7 @@ import (
"github.com/Unknwon/com" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -8,7 +8,7 @@ import (
"fmt" "fmt"
"strings" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -6,7 +6,7 @@ package repo
import ( import (
"time" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package repo package repo
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -7,7 +7,7 @@ package repo
import ( import (
"fmt" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package repo package repo
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -7,7 +7,7 @@ package repo
import ( import (
"time" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -7,7 +7,7 @@ package repo
import ( import (
"path" "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/models"
"github.com/go-gitea/gitea/modules/auth" "github.com/go-gitea/gitea/modules/auth"

View file

@ -5,7 +5,7 @@
package user package user
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package user package user
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package user package user
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -5,7 +5,7 @@
package user package user
import ( 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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -7,7 +7,7 @@ package user
import ( import (
"github.com/Unknwon/com" "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/models"
"github.com/go-gitea/gitea/modules/context" "github.com/go-gitea/gitea/modules/context"

View file

@ -13,7 +13,7 @@ import (
"github.com/Unknwon/com" "github.com/Unknwon/com"
"github.com/go-gitea/git" "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/models"
"github.com/go-gitea/gitea/modules/auth" "github.com/go-gitea/gitea/modules/auth"