mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-10 12:05:58 +08:00
office
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/db/unrelation"
|
||||
)
|
||||
|
||||
func NewOfficeDatabase(mgo *unrelation.Mongo) OfficeDatabase {
|
||||
return &officeDatabase{mgo: mgo}
|
||||
}
|
||||
|
||||
type OfficeDatabase interface {
|
||||
// table.unrelation.office.go
|
||||
// unrelation.office.go
|
||||
}
|
||||
|
||||
type officeDatabase struct {
|
||||
mgo *unrelation.Mongo
|
||||
}
|
||||
Reference in New Issue
Block a user