summaryrefslogtreecommitdiffstats
path: root/modules/structs/org_member.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/structs/org_member.go')
-rw-r--r--modules/structs/org_member.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/structs/org_member.go b/modules/structs/org_member.go
new file mode 100644
index 0000000000..3b2a8b599a
--- /dev/null
+++ b/modules/structs/org_member.go
@@ -0,0 +1,10 @@
+// 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 structs
+
+// AddOrgMembershipOption add user to organization options
+type AddOrgMembershipOption struct {
+ Role string `json:"role" binding:"Required"`
+}