diff options
author | Unknwon <u@gogs.io> | 2019-10-23 23:03:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-23 23:03:17 -0700 |
commit | 613139e7bef81d3573e7988a47eb6765f3de347a (patch) | |
tree | 49de7277898d3ff47a122c072568edb8ed4c9ac9 /models/org_team.go | |
parent | fb100dbf98f02e4c631d142ff0f52ec29ee2f00c (diff) |
Enable Go modules (#5835)
* Remove vendor
* Enable Go modules
* ci: add command to fetch dependencies
* ci: update setting
* ci: update settings
* Require Go 1.11
* Rename module name to gogs.io/gogs
Diffstat (limited to 'models/org_team.go')
-rw-r--r-- | models/org_team.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/models/org_team.go b/models/org_team.go index c3aba0e1..5fc77dbe 100644 --- a/models/org_team.go +++ b/models/org_team.go @@ -8,9 +8,9 @@ import ( "fmt" "strings" - "github.com/go-xorm/xorm" + "xorm.io/xorm" - "github.com/gogs/gogs/models/errors" + "gogs.io/gogs/models/errors" ) const OWNER_TEAM = "Owners" @@ -32,7 +32,7 @@ type Team struct { func (t *Team) AfterSet(colName string, _ xorm.Cell) { switch colName { case "num_repos": - // LEGACY [1.0]: this is backward compatibility bug fix for https://github.com/gogs/gogs/issues/3671 + // LEGACY [1.0]: this is backward compatibility bug fix for https://gogs.io/gogs/issues/3671 if t.NumRepos < 0 { t.NumRepos = 0 } |