mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
把manage中的Codes改成接口
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
DefaultDataDir = "./data"
|
||||
DefaultDatabaseDir = "./data/database"
|
||||
)
|
||||
|
||||
@@ -116,7 +117,7 @@ func NewManage(cfg *ManageConfig, op ...client.Option) (*Manage, error) {
|
||||
type Manage struct {
|
||||
*Pool
|
||||
Config *ManageConfig
|
||||
Codes *Codes
|
||||
Codes ICodes
|
||||
Workday *Workday
|
||||
Cron *cron.Cron
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user