23 lines
322 B
Go
23 lines
322 B
Go
package handle
|
|
|
|
import (
|
|
"ai_scheduler/internal/config"
|
|
"ai_scheduler/internal/tools"
|
|
)
|
|
|
|
type Handle struct {
|
|
toolManager *tools.Manager
|
|
conf *config.Config
|
|
}
|
|
|
|
func NewHandle(
|
|
toolManager *tools.Manager,
|
|
conf *config.Config,
|
|
|
|
) *Handle {
|
|
return &Handle{
|
|
toolManager: toolManager,
|
|
conf: conf,
|
|
}
|
|
}
|