mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 10:34:10 +01:00
Replaced go-gogs-client with go-sdk imports
This commit is contained in:
parent
77f9c7e571
commit
4c6c16f358
34 changed files with 34 additions and 34 deletions
|
@ -17,7 +17,7 @@ import (
|
|||
"github.com/go-xorm/xorm"
|
||||
|
||||
"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/log"
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
"github.com/Unknwon/com"
|
||||
"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"
|
||||
|
||||
"github.com/go-gitea/gitea/modules/base"
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/Unknwon/com"
|
||||
"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/markdown"
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
|
||||
"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"
|
||||
)
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
"github.com/go-gitea/gitea/modules/sync"
|
||||
"github.com/go-xorm/xorm"
|
||||
"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)
|
||||
|
|
|
@ -29,7 +29,7 @@ import (
|
|||
"github.com/go-gitea/gitea/modules/sync"
|
||||
"github.com/go-xorm/xorm"
|
||||
"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"
|
||||
ini "gopkg.in/ini.v1"
|
||||
)
|
||||
|
|
|
@ -25,7 +25,7 @@ import (
|
|||
"github.com/nfnt/resize"
|
||||
|
||||
"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/base"
|
||||
|
|
|
@ -15,7 +15,7 @@ import (
|
|||
"github.com/go-xorm/xorm"
|
||||
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/log"
|
||||
|
|
|
@ -11,7 +11,7 @@ import (
|
|||
"strings"
|
||||
|
||||
"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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue