githaven/modules/context/api_org.go

16 lines
357 B
Go
Raw Normal View History

// 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"
)
2016-11-25 06:51:01 +00:00
// APIOrganization contains organization and team
type APIOrganization struct {
Organization *models.User
Team *models.Team
}