working commit

This commit is contained in:
2026-06-07 18:19:15 +02:00
parent d3556d397c
commit 0506b35cd1
26 changed files with 199 additions and 1299 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ import (
type Util struct {
log *logger.Logger
oper *operator.Logic
oper *operator.Operator
db *maindb.Database
state descr.Server
sfile string
@@ -84,10 +84,10 @@ func (util *Util) Build() error {
return err
}
util.db = db
logicConfig := &operator.LogicConfig{
operConfig := &operator.OperatorConfig{
Database: util.db,
}
util.oper, err = operator.NewLogic(logicConfig)
util.oper, err = operator.NewOperator(operConfig)
if err != nil {
return err
}