mirror of
https://github.com/gogs/gogs.git
synced 2026-05-07 11:06:24 +02:00
internal: move packages under this directory (#5836)
* Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version
This commit is contained in:
14
internal/context/api_org.go
Normal file
14
internal/context/api_org.go
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user