From b1d41cfa603aee63711fbc23bb02fced5a4c54e3 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 25 Mar 2016 18:04:02 -0400 Subject: #1692 add admin APIs to add/remove a user from teams --- modules/context/api_org.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 modules/context/api_org.go (limited to 'modules/context/api_org.go') diff --git a/modules/context/api_org.go b/modules/context/api_org.go new file mode 100644 index 00000000..ecf60a19 --- /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 +} -- cgit v1.2.3