diff options
Diffstat (limited to 'modules/structs/org_member.go')
-rw-r--r-- | modules/structs/org_member.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/structs/org_member.go b/modules/structs/org_member.go new file mode 100644 index 0000000..2df5099 --- /dev/null +++ b/modules/structs/org_member.go @@ -0,0 +1,9 @@ +// Copyright 2016 The Gogs Authors. All rights reserved. +// SPDX-License-Identifier: MIT + +package structs + +// AddOrgMembershipOption add user to organization options +type AddOrgMembershipOption struct { + Role string `json:"role" binding:"Required"` +} |