From d05395fe906dad7741201faa69a54fef538deda9 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Tue, 4 Apr 2017 19:29:59 -0400 Subject: Refactoring: rename modules -> pkg Reasons to change: 1. Shorter than 'modules' 2. More generally used by other Go projects 3. Corresponds to the naming of '$GOPATH/pkg' directory --- pkg/context/api_org.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pkg/context/api_org.go (limited to 'pkg/context/api_org.go') diff --git a/pkg/context/api_org.go b/pkg/context/api_org.go new file mode 100644 index 00000000..ecf60a19 --- /dev/null +++ b/pkg/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