summaryrefslogtreecommitdiffstats
path: root/modules/context/api_org.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/api_org.go')
-rw-r--r--modules/context/api_org.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/context/api_org.go b/modules/context/api_org.go
new file mode 100644
index 0000000000..ecf60a1905
--- /dev/null
+++ b/modules/context/api_org.go
@@ -0,0 +1,14 @@
+// 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 (
+ "github.com/gogits/gogs/models"
+)
+
+type APIOrganization struct {
+ Organization *models.User
+ Team *models.Team
+}