18 lines
309 B
Go
18 lines
309 B
Go
package impl
|
|
|
|
import (
|
|
"ai_scheduler/internal/data/model"
|
|
"ai_scheduler/tmpl/dataTemp"
|
|
"ai_scheduler/utils"
|
|
)
|
|
|
|
type BotConfigImpl struct {
|
|
dataTemp.DataTemp
|
|
}
|
|
|
|
func NewBotConfigImpl(db *utils.Db) *BotConfigImpl {
|
|
return &BotConfigImpl{
|
|
DataTemp: *dataTemp.NewDataTemp(db, new(model.AiBotConfig)),
|
|
}
|
|
}
|