aboutsummaryrefslogtreecommitdiff
path: root/routes
diff options
context:
space:
mode:
Diffstat (limited to 'routes')
-rw-r--r--routes/admin/admin.go16
-rw-r--r--routes/admin/auths.go14
-rw-r--r--routes/admin/notice.go10
-rw-r--r--routes/admin/orgs.go8
-rw-r--r--routes/admin/repos.go8
-rw-r--r--routes/admin/users.go14
-rw-r--r--routes/api/v1/admin/org.go6
-rw-r--r--routes/api/v1/admin/org_repo.go6
-rw-r--r--routes/api/v1/admin/org_team.go8
-rw-r--r--routes/api/v1/admin/repo.go6
-rw-r--r--routes/api/v1/admin/user.go12
-rw-r--r--routes/api/v1/api.go18
-rw-r--r--routes/api/v1/convert/convert.go4
-rw-r--r--routes/api/v1/convert/utils.go2
-rw-r--r--routes/api/v1/misc/markdown.go4
-rw-r--r--routes/api/v1/org/org.go8
-rw-r--r--routes/api/v1/org/team.go4
-rw-r--r--routes/api/v1/repo/branch.go6
-rw-r--r--routes/api/v1/repo/collaborators.go6
-rw-r--r--routes/api/v1/repo/commits.go8
-rw-r--r--routes/api/v1/repo/file.go6
-rw-r--r--routes/api/v1/repo/hook.go10
-rw-r--r--routes/api/v1/repo/issue.go8
-rw-r--r--routes/api/v1/repo/issue_comment.go4
-rw-r--r--routes/api/v1/repo/issue_label.go6
-rw-r--r--routes/api/v1/repo/key.go8
-rw-r--r--routes/api/v1/repo/label.go6
-rw-r--r--routes/api/v1/repo/milestone.go4
-rw-r--r--routes/api/v1/repo/repo.go12
-rw-r--r--routes/api/v1/user/app.go6
-rw-r--r--routes/api/v1/user/email.go8
-rw-r--r--routes/api/v1/user/follower.go4
-rw-r--r--routes/api/v1/user/key.go12
-rw-r--r--routes/api/v1/user/user.go10
-rw-r--r--routes/dev/template.go6
-rw-r--r--routes/home.go10
-rw-r--r--routes/install.go26
-rw-r--r--routes/org/members.go10
-rw-r--r--routes/org/org.go8
-rw-r--r--routes/org/setting.go12
-rw-r--r--routes/org/teams.go10
-rw-r--r--routes/repo/branch.go6
-rw-r--r--routes/repo/commit.go8
-rw-r--r--routes/repo/download.go6
-rw-r--r--routes/repo/editor.go14
-rw-r--r--routes/repo/http.go10
-rw-r--r--routes/repo/issue.go20
-rw-r--r--routes/repo/pull.go14
-rw-r--r--routes/repo/release.go10
-rw-r--r--routes/repo/repo.go14
-rw-r--r--routes/repo/setting.go16
-rw-r--r--routes/repo/view.go16
-rw-r--r--routes/repo/webhook.go12
-rw-r--r--routes/repo/wiki.go8
-rw-r--r--routes/user/auth.go14
-rw-r--r--routes/user/home.go12
-rw-r--r--routes/user/profile.go12
-rw-r--r--routes/user/setting.go16
58 files changed, 281 insertions, 281 deletions
diff --git a/routes/admin/admin.go b/routes/admin/admin.go
index 76758bd5..653c9fdf 100644
--- a/routes/admin/admin.go
+++ b/routes/admin/admin.go
@@ -10,17 +10,17 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/json-iterator/go"
"gopkg.in/macaron.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/cron"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/process"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/cron"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/process"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/admin/auths.go b/routes/admin/auths.go
index 6837bace..36cdebf5 100644
--- a/routes/admin/auths.go
+++ b/routes/admin/auths.go
@@ -9,15 +9,15 @@ import (
"net/http"
"strings"
- "github.com/Unknwon/com"
- "github.com/go-xorm/core"
+ "github.com/unknwon/com"
+ "xorm.io/core"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/auth/ldap"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/auth/ldap"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/admin/notice.go b/routes/admin/notice.go
index 2670d526..084b4eb1 100644
--- a/routes/admin/notice.go
+++ b/routes/admin/notice.go
@@ -5,13 +5,13 @@
package admin
import (
- "github.com/Unknwon/com"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/com"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/admin/orgs.go b/routes/admin/orgs.go
index ecbd2fa9..a5b2a2fb 100644
--- a/routes/admin/orgs.go
+++ b/routes/admin/orgs.go
@@ -5,10 +5,10 @@
package admin
import (
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes"
)
const (
diff --git a/routes/admin/repos.go b/routes/admin/repos.go
index b8179487..84e20dd8 100644
--- a/routes/admin/repos.go
+++ b/routes/admin/repos.go
@@ -5,12 +5,12 @@
package admin
import (
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/admin/users.go b/routes/admin/users.go
index f8237e3a..5ad5036c 100644
--- a/routes/admin/users.go
+++ b/routes/admin/users.go
@@ -7,15 +7,15 @@ package admin
import (
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes"
)
const (
diff --git a/routes/api/v1/admin/org.go b/routes/api/v1/admin/org.go
index d01de993..5f02288c 100644
--- a/routes/api/v1/admin/org.go
+++ b/routes/api/v1/admin/org.go
@@ -7,9 +7,9 @@ package admin
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/org"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/org"
+ "gogs.io/gogs/routes/api/v1/user"
)
func CreateOrg(c *context.APIContext, form api.CreateOrgOption) {
diff --git a/routes/api/v1/admin/org_repo.go b/routes/api/v1/admin/org_repo.go
index b99a144f..afbb94ee 100644
--- a/routes/api/v1/admin/org_repo.go
+++ b/routes/api/v1/admin/org_repo.go
@@ -5,9 +5,9 @@
package admin
import (
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
)
func GetRepositoryByParams(c *context.APIContext) *models.Repository {
diff --git a/routes/api/v1/admin/org_team.go b/routes/api/v1/admin/org_team.go
index 7083c4ae..a055efcd 100644
--- a/routes/api/v1/admin/org_team.go
+++ b/routes/api/v1/admin/org_team.go
@@ -9,10 +9,10 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/routes/api/v1/user"
)
func CreateTeam(c *context.APIContext, form api.CreateTeamOption) {
diff --git a/routes/api/v1/admin/repo.go b/routes/api/v1/admin/repo.go
index 7e0507bc..3d364f05 100644
--- a/routes/api/v1/admin/repo.go
+++ b/routes/api/v1/admin/repo.go
@@ -7,9 +7,9 @@ package admin
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/repo"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/repo"
+ "gogs.io/gogs/routes/api/v1/user"
)
func CreateRepo(c *context.APIContext, form api.CreateRepoOption) {
diff --git a/routes/api/v1/admin/user.go b/routes/api/v1/admin/user.go
index 8e7c630e..ee1472f3 100644
--- a/routes/api/v1/admin/user.go
+++ b/routes/api/v1/admin/user.go
@@ -11,12 +11,12 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/api/v1/user"
)
func parseLoginSource(c *context.APIContext, u *models.User, sourceID int64, loginName string) {
diff --git a/routes/api/v1/api.go b/routes/api/v1/api.go
index daabe0e2..57ea3536 100644
--- a/routes/api/v1/api.go
+++ b/routes/api/v1/api.go
@@ -13,15 +13,15 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/routes/api/v1/admin"
- "github.com/gogs/gogs/routes/api/v1/misc"
- "github.com/gogs/gogs/routes/api/v1/org"
- "github.com/gogs/gogs/routes/api/v1/repo"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/routes/api/v1/admin"
+ "gogs.io/gogs/routes/api/v1/misc"
+ "gogs.io/gogs/routes/api/v1/org"
+ "gogs.io/gogs/routes/api/v1/repo"
+ "gogs.io/gogs/routes/api/v1/user"
)
// repoAssignment extracts information from URL parameters to retrieve the repository,
diff --git a/routes/api/v1/convert/convert.go b/routes/api/v1/convert/convert.go
index a6ced6fc..767fd7da 100644
--- a/routes/api/v1/convert/convert.go
+++ b/routes/api/v1/convert/convert.go
@@ -7,12 +7,12 @@ package convert
import (
"fmt"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
+ "gogs.io/gogs/models"
)
func ToEmail(email *models.EmailAddress) *api.Email {
diff --git a/routes/api/v1/convert/utils.go b/routes/api/v1/convert/utils.go
index e9326eed..08d6edad 100644
--- a/routes/api/v1/convert/utils.go
+++ b/routes/api/v1/convert/utils.go
@@ -5,7 +5,7 @@
package convert
import (
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/setting"
)
// ToCorrectPageSize makes sure page size is in allowed range.
diff --git a/routes/api/v1/misc/markdown.go b/routes/api/v1/misc/markdown.go
index b79f449c..2bbb3ae7 100644
--- a/routes/api/v1/misc/markdown.go
+++ b/routes/api/v1/misc/markdown.go
@@ -9,8 +9,8 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/markup"
)
func Markdown(c *context.APIContext, form api.MarkdownOption) {
diff --git a/routes/api/v1/org/org.go b/routes/api/v1/org/org.go
index 943501dd..5ea80cec 100644
--- a/routes/api/v1/org/org.go
+++ b/routes/api/v1/org/org.go
@@ -9,10 +9,10 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
- "github.com/gogs/gogs/routes/api/v1/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/routes/api/v1/user"
)
func CreateOrgForUser(c *context.APIContext, apiForm api.CreateOrgOption, user *models.User) {
diff --git a/routes/api/v1/org/team.go b/routes/api/v1/org/team.go
index ff2d4a2b..4b26552b 100644
--- a/routes/api/v1/org/team.go
+++ b/routes/api/v1/org/team.go
@@ -7,8 +7,8 @@ package org
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
)
func ListTeams(c *context.APIContext) {
diff --git a/routes/api/v1/repo/branch.go b/routes/api/v1/repo/branch.go
index 3323ccd6..d21b49b1 100644
--- a/routes/api/v1/repo/branch.go
+++ b/routes/api/v1/repo/branch.go
@@ -7,9 +7,9 @@ package repo
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
)
// https://github.com/gogs/go-gogs-client/wiki/Repositories#get-branch
diff --git a/routes/api/v1/repo/collaborators.go b/routes/api/v1/repo/collaborators.go
index 728b6d40..7dac975b 100644
--- a/routes/api/v1/repo/collaborators.go
+++ b/routes/api/v1/repo/collaborators.go
@@ -7,9 +7,9 @@ package repo
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
)
func ListCollaborators(c *context.APIContext) {
diff --git a/routes/api/v1/repo/commits.go b/routes/api/v1/repo/commits.go
index 302ece1c..81ec139e 100644
--- a/routes/api/v1/repo/commits.go
+++ b/routes/api/v1/repo/commits.go
@@ -12,10 +12,10 @@ import (
"github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
func GetSingleCommit(c *context.APIContext) {
diff --git a/routes/api/v1/repo/file.go b/routes/api/v1/repo/file.go
index 744db738..4ae56662 100644
--- a/routes/api/v1/repo/file.go
+++ b/routes/api/v1/repo/file.go
@@ -7,9 +7,9 @@ package repo
import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/repo"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/repo"
)
func GetRawFile(c *context.APIContext) {
diff --git a/routes/api/v1/repo/hook.go b/routes/api/v1/repo/hook.go
index 98ccb41d..a4f77852 100644
--- a/routes/api/v1/repo/hook.go
+++ b/routes/api/v1/repo/hook.go
@@ -5,15 +5,15 @@
package repo
import (
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/json-iterator/go"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/routes/api/v1/convert"
)
// https://github.com/gogs/go-gogs-client/wiki/Repositories#list-hooks
diff --git a/routes/api/v1/repo/issue.go b/routes/api/v1/repo/issue.go
index a3cc02ee..bd46dd06 100644
--- a/routes/api/v1/repo/issue.go
+++ b/routes/api/v1/repo/issue.go
@@ -11,10 +11,10 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
func listIssues(c *context.APIContext, opts *models.IssuesOptions) {
diff --git a/routes/api/v1/repo/issue_comment.go b/routes/api/v1/repo/issue_comment.go
index 83080492..2d0c3e62 100644
--- a/routes/api/v1/repo/issue_comment.go
+++ b/routes/api/v1/repo/issue_comment.go
@@ -9,8 +9,8 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
)
func ListIssueComments(c *context.APIContext) {
diff --git a/routes/api/v1/repo/issue_label.go b/routes/api/v1/repo/issue_label.go
index 60b49e5d..173ddb42 100644
--- a/routes/api/v1/repo/issue_label.go
+++ b/routes/api/v1/repo/issue_label.go
@@ -9,9 +9,9 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
)
func ListIssueLabels(c *context.APIContext) {
diff --git a/routes/api/v1/repo/key.go b/routes/api/v1/repo/key.go
index db93b927..17ae7084 100644
--- a/routes/api/v1/repo/key.go
+++ b/routes/api/v1/repo/key.go
@@ -9,10 +9,10 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/api/v1/convert"
)
func composeDeployKeysAPILink(repoPath string) string {
diff --git a/routes/api/v1/repo/label.go b/routes/api/v1/repo/label.go
index 833c0822..189d3fdb 100644
--- a/routes/api/v1/repo/label.go
+++ b/routes/api/v1/repo/label.go
@@ -7,12 +7,12 @@ package repo
import (
"net/http"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
)
func ListLabels(c *context.APIContext) {
diff --git a/routes/api/v1/repo/milestone.go b/routes/api/v1/repo/milestone.go
index d91e800c..7d2f9957 100644
--- a/routes/api/v1/repo/milestone.go
+++ b/routes/api/v1/repo/milestone.go
@@ -10,8 +10,8 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
)
func ListMilestones(c *context.APIContext) {
diff --git a/routes/api/v1/repo/repo.go b/routes/api/v1/repo/repo.go
index 9be8ad02..67623ffa 100644
--- a/routes/api/v1/repo/repo.go
+++ b/routes/api/v1/repo/repo.go
@@ -13,12 +13,12 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/api/v1/convert"
)
func Search(c *context.APIContext) {
diff --git a/routes/api/v1/user/app.go b/routes/api/v1/user/app.go
index dcc3fca5..4e0b2fee 100644
--- a/routes/api/v1/user/app.go
+++ b/routes/api/v1/user/app.go
@@ -9,9 +9,9 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
)
func ListAccessTokens(c *context.APIContext) {
diff --git a/routes/api/v1/user/email.go b/routes/api/v1/user/email.go
index e84353a6..7091beb6 100644
--- a/routes/api/v1/user/email.go
+++ b/routes/api/v1/user/email.go
@@ -9,10 +9,10 @@ import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/api/v1/convert"
)
func ListEmails(c *context.APIContext) {
diff --git a/routes/api/v1/user/follower.go b/routes/api/v1/user/follower.go
index 7ec533ff..022bd8c5 100644
--- a/routes/api/v1/user/follower.go
+++ b/routes/api/v1/user/follower.go
@@ -7,8 +7,8 @@ package user
import (
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
)
func responseApiUsers(c *context.APIContext, users []*models.User) {
diff --git a/routes/api/v1/user/key.go b/routes/api/v1/user/key.go
index 46e4df66..c0757811 100644
--- a/routes/api/v1/user/key.go
+++ b/routes/api/v1/user/key.go
@@ -8,12 +8,12 @@ import (
api "github.com/gogs/go-gogs-client"
"net/http"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/api/v1/convert"
- "github.com/gogs/gogs/routes/api/v1/repo"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/api/v1/convert"
+ "gogs.io/gogs/routes/api/v1/repo"
)
func GetUserByParamsName(c *context.APIContext, name string) *models.User {
diff --git a/routes/api/v1/user/user.go b/routes/api/v1/user/user.go
index 70897166..121deeb7 100644
--- a/routes/api/v1/user/user.go
+++ b/routes/api/v1/user/user.go
@@ -7,14 +7,14 @@ package user
import (
"net/http"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/markup"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/markup"
)
func Search(c *context.APIContext) {
diff --git a/routes/dev/template.go b/routes/dev/template.go
index 298f5379..8d6b6da6 100644
--- a/routes/dev/template.go
+++ b/routes/dev/template.go
@@ -5,9 +5,9 @@
package dev
import (
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
func TemplatePreview(c *context.Context) {
diff --git a/routes/home.go b/routes/home.go
index 9835b556..e7a6e607 100644
--- a/routes/home.go
+++ b/routes/home.go
@@ -5,12 +5,12 @@
package routes
import (
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/paginater"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/user"
)
const (
diff --git a/routes/install.go b/routes/install.go
index e0a3f944..6a5d3e22 100644
--- a/routes/install.go
+++ b/routes/install.go
@@ -11,25 +11,25 @@ import (
"path/filepath"
"strings"
- "github.com/Unknwon/com"
- "github.com/go-xorm/xorm"
+ "github.com/unknwon/com"
+ "xorm.io/xorm"
log "gopkg.in/clog.v1"
"gopkg.in/ini.v1"
"gopkg.in/macaron.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/cron"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/ssh"
- "github.com/gogs/gogs/pkg/template/highlight"
- "github.com/gogs/gogs/pkg/tool"
- "github.com/gogs/gogs/pkg/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/cron"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/ssh"
+ "gogs.io/gogs/pkg/template/highlight"
+ "gogs.io/gogs/pkg/tool"
+ "gogs.io/gogs/pkg/user"
)
const (
diff --git a/routes/org/members.go b/routes/org/members.go
index 62021b64..f0e3fc1a 100644
--- a/routes/org/members.go
+++ b/routes/org/members.go
@@ -5,13 +5,13 @@
package org
import (
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/org/org.go b/routes/org/org.go
index e00d14fe..c2742d7c 100644
--- a/routes/org/org.go
+++ b/routes/org/org.go
@@ -7,10 +7,10 @@ package org
import (
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/org/setting.go b/routes/org/setting.go
index 59dfdae4..6c29d5b3 100644
--- a/routes/org/setting.go
+++ b/routes/org/setting.go
@@ -9,12 +9,12 @@ import (
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/routes/user"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/routes/user"
)
const (
diff --git a/routes/org/teams.go b/routes/org/teams.go
index fa79e910..de1d2987 100644
--- a/routes/org/teams.go
+++ b/routes/org/teams.go
@@ -7,13 +7,13 @@ package org
import (
"path"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
)
const (
diff --git a/routes/repo/branch.go b/routes/repo/branch.go
index e24df65a..96308616 100644
--- a/routes/repo/branch.go
+++ b/routes/repo/branch.go
@@ -12,9 +12,9 @@ import (
"github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/commit.go b/routes/repo/commit.go
index 8af8d8e0..504f76b8 100644
--- a/routes/repo/commit.go
+++ b/routes/repo/commit.go
@@ -10,10 +10,10 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/download.go b/routes/repo/download.go
index b11baa69..9b90a017 100644
--- a/routes/repo/download.go
+++ b/routes/repo/download.go
@@ -12,9 +12,9 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
func ServeData(c *context.Context, name string, reader io.Reader) error {
diff --git a/routes/repo/editor.go b/routes/repo/editor.go
index 7afc825e..e1beb184 100644
--- a/routes/repo/editor.go
+++ b/routes/repo/editor.go
@@ -14,13 +14,13 @@ import (
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/http.go b/routes/repo/http.go
index 743605f5..57aa0213 100644
--- a/routes/repo/http.go
+++ b/routes/repo/http.go
@@ -20,11 +20,11 @@ import (
log "gopkg.in/clog.v1"
"gopkg.in/macaron.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
type HTTPContext struct {
diff --git a/routes/repo/issue.go b/routes/repo/issue.go
index 55786f8f..a9d739c5 100644
--- a/routes/repo/issue.go
+++ b/routes/repo/issue.go
@@ -13,18 +13,18 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/com"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/pull.go b/routes/repo/pull.go
index 80ca9387..a5f76654 100644
--- a/routes/repo/pull.go
+++ b/routes/repo/pull.go
@@ -9,17 +9,17 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/release.go b/routes/repo/release.go
index 5fdb9eaa..468f8965 100644
--- a/routes/repo/release.go
+++ b/routes/repo/release.go
@@ -10,11 +10,11 @@ import (
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/repo/repo.go b/routes/repo/repo.go
index 96a8b45d..19c1e7fd 100644
--- a/routes/repo/repo.go
+++ b/routes/repo/repo.go
@@ -10,17 +10,17 @@ import (
"path"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/setting.go b/routes/repo/setting.go
index 328ed931..9015916b 100644
--- a/routes/repo/setting.go
+++ b/routes/repo/setting.go
@@ -10,17 +10,17 @@ import (
"strings"
"time"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/gogs/git-module"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/view.go b/routes/repo/view.go
index 7c15af8f..b6464e44 100644
--- a/routes/repo/view.go
+++ b/routes/repo/view.go
@@ -12,18 +12,18 @@ import (
"path"
"strings"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/paginater"
log "gopkg.in/clog.v1"
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/markup"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/template"
- "github.com/gogs/gogs/pkg/template/highlight"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/markup"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/template"
+ "gogs.io/gogs/pkg/template/highlight"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/repo/webhook.go b/routes/repo/webhook.go
index c92d9241..d22140af 100644
--- a/routes/repo/webhook.go
+++ b/routes/repo/webhook.go
@@ -8,17 +8,17 @@ import (
"fmt"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/json-iterator/go"
git "github.com/gogs/git-module"
api "github.com/gogs/go-gogs-client"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/repo/wiki.go b/routes/repo/wiki.go
index 8035b845..29979343 100644
--- a/routes/repo/wiki.go
+++ b/routes/repo/wiki.go
@@ -11,10 +11,10 @@ import (
"github.com/gogs/git-module"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/markup"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/markup"
)
const (
diff --git a/routes/user/auth.go b/routes/user/auth.go
index d57eba65..d90a078b 100644
--- a/routes/user/auth.go
+++ b/routes/user/auth.go
@@ -11,13 +11,13 @@ import (
"github.com/go-macaron/captcha"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (
diff --git a/routes/user/home.go b/routes/user/home.go
index 2ca53eb7..87026f7d 100644
--- a/routes/user/home.go
+++ b/routes/user/home.go
@@ -8,13 +8,13 @@ import (
"bytes"
"fmt"
- "github.com/Unknwon/com"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/com"
+ "github.com/unknwon/paginater"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
)
const (
diff --git a/routes/user/profile.go b/routes/user/profile.go
index 3d96f4cb..c9491927 100644
--- a/routes/user/profile.go
+++ b/routes/user/profile.go
@@ -8,13 +8,13 @@ import (
"fmt"
"strings"
- "github.com/Unknwon/paginater"
+ "github.com/unknwon/paginater"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
- "github.com/gogs/gogs/routes/repo"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
+ "gogs.io/gogs/routes/repo"
)
const (
diff --git a/routes/user/setting.go b/routes/user/setting.go
index e9d8182d..ab947913 100644
--- a/routes/user/setting.go
+++ b/routes/user/setting.go
@@ -13,18 +13,18 @@ import (
"io/ioutil"
"strings"
- "github.com/Unknwon/com"
+ "github.com/unknwon/com"
"github.com/pquerna/otp"
"github.com/pquerna/otp/totp"
log "gopkg.in/clog.v1"
- "github.com/gogs/gogs/models"
- "github.com/gogs/gogs/models/errors"
- "github.com/gogs/gogs/pkg/context"
- "github.com/gogs/gogs/pkg/form"
- "github.com/gogs/gogs/pkg/mailer"
- "github.com/gogs/gogs/pkg/setting"
- "github.com/gogs/gogs/pkg/tool"
+ "gogs.io/gogs/models"
+ "gogs.io/gogs/models/errors"
+ "gogs.io/gogs/pkg/context"
+ "gogs.io/gogs/pkg/form"
+ "gogs.io/gogs/pkg/mailer"
+ "gogs.io/gogs/pkg/setting"
+ "gogs.io/gogs/pkg/tool"
)
const (