From 6565760b7d329ac0156fec62c9b1351c1374f504 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Sat, 7 Dec 2024 21:22:18 +0800 Subject: [PATCH] go.mod --- core/candle.go | 2 +- core/core.go | 4 ++-- main.go | 8 ++++---- models/globalCoin.go | 2 +- private/order.go | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/candle.go b/core/candle.go index 1ec1749..9f8fb0d 100644 --- a/core/candle.go +++ b/core/candle.go @@ -15,7 +15,7 @@ import ( simple "github.com/bitly/go-simplejson" "github.com/go-redis/redis" - "phyer.click/tunas/utils" + "github.com/phyer/texus/utils" ) type Candle struct { diff --git a/core/core.go b/core/core.go index 348366f..dff886c 100644 --- a/core/core.go +++ b/core/core.go @@ -19,8 +19,8 @@ import ( simple "github.com/bitly/go-simplejson" "github.com/go-redis/redis" - "phyer.click/tunas/private" - "phyer.click/tunas/utils" + "github.com/phyer/texus/private" + "github.com/phyer/texus/utils" ) type Core struct { diff --git a/main.go b/main.go index 8d6da20..8837ee4 100644 --- a/main.go +++ b/main.go @@ -13,9 +13,9 @@ import ( simple "github.com/bitly/go-simplejson" // "github.com/go-redis/redis" - "phyer.click/tunas/core" - // "phyer.click/tunas/private" - "phyer.click/tunas/utils" + "github.com/phyer/texus/core" + // "github.com/phyer/texus/private" + "github.com/phyer/texus/utils" ) func init() { @@ -77,7 +77,7 @@ func RestTicker(cr *core.Core, dura time.Duration) { wg := core.WriteLog{ Content: ab, Tag: "sardine.log.ticker." + tir.InstId, - Id: ti.Id, + Id: did, } cr.WriteLogChan <- &wg redisCli.Publish(core.TICKERINFO_PUBLISH+suffix, string(ab)).Result() diff --git a/models/globalCoin.go b/models/globalCoin.go index da126c2..92f5bd4 100644 --- a/models/globalCoin.go +++ b/models/globalCoin.go @@ -1,7 +1,7 @@ package models import ( - "phyer.click/tunas/utils" + "github.com/phyer/texus/utils" ) type GlobalCoin struct { diff --git a/private/order.go b/private/order.go index 3ad3eda..6de07ba 100644 --- a/private/order.go +++ b/private/order.go @@ -1,7 +1,7 @@ package private import ( - "phyer.click/tunas/utils" + "github.com/phyer/texus/utils" ) type OrderResp struct {