mirror of
https://github.com/go-gitea/gitea
synced 2024-11-01 07:44:25 +00:00
7a03473159
* Use a standalone struct name for Organization * recover unnecessary change * make the code readable * Fix template failure * Fix template failure * Move HasMemberWithUserID to org * Fix test * Remove unnecessary user type check * Fix test Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
16 lines
365 B
Go
16 lines
365 B
Go
// Copyright 2016 The Gogs Authors. All rights reserved.
|
|
// Use of this source code is governed by a MIT-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package context
|
|
|
|
import (
|
|
"code.gitea.io/gitea/models"
|
|
)
|
|
|
|
// APIOrganization contains organization and team
|
|
type APIOrganization struct {
|
|
Organization *models.Organization
|
|
Team *models.Team
|
|
}
|