tracebug of insertPlate
This commit is contained in:
parent
94030db9c9
commit
2e3192b2eb
5
main.go
5
main.go
@ -2,11 +2,11 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// "fmt"
|
// "fmt"
|
||||||
"os"
|
|
||||||
|
|
||||||
"github.com/phyer/core"
|
"github.com/phyer/core"
|
||||||
md "github.com/phyer/siaga/modules"
|
md "github.com/phyer/siaga/modules"
|
||||||
logrus "github.com/sirupsen/logrus"
|
logrus "github.com/sirupsen/logrus"
|
||||||
|
"os"
|
||||||
|
"sync"
|
||||||
// "github.com/sirupsen/logrus"
|
// "github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -21,6 +21,7 @@ func main() {
|
|||||||
cr.StockRsiProcessChan = make(chan *core.StockRsi)
|
cr.StockRsiProcessChan = make(chan *core.StockRsi)
|
||||||
cr.MakeMaXsChan = make(chan *core.Candle)
|
cr.MakeMaXsChan = make(chan *core.Candle)
|
||||||
cr.WriteLogChan = make(chan *core.WriteLog)
|
cr.WriteLogChan = make(chan *core.WriteLog)
|
||||||
|
cr.Mu = &sync.Mutex{}
|
||||||
cli, _ := cr.GetRedisLocalCli()
|
cli, _ := cr.GetRedisLocalCli()
|
||||||
cr.RedisRemoteCli = cli
|
cr.RedisRemoteCli = cli
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user