aboutsummaryrefslogtreecommitdiff
path: root/internal/context/api_org.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/context/api_org.go')
-rw-r--r--internal/context/api_org.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/internal/context/api_org.go b/internal/context/api_org.go
new file mode 100644
index 00000000..3927b890
--- /dev/null
+++ b/internal/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 (
+ "gogs.io/gogs/internal/db"
+)
+
+type APIOrganization struct {
+ Organization *db.User
+ Team *db.Team
+}