From e8f952d06b77a4340d7bba885d22258dfc26517c Mon Sep 17 00:00:00 2001 From: NoahLan <6995syu@163.com> Date: Thu, 20 Jul 2023 18:24:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dnkatago=E7=94=B1?= =?UTF-8?q?=E4=BA=8Entool=E6=9B=B4=E6=96=B0=E5=AF=BC=E8=87=B4=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nkatago/engine_analysis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nkatago/engine_analysis.go b/nkatago/engine_analysis.go index 40885b0..3f39985 100644 --- a/nkatago/engine_analysis.go +++ b/nkatago/engine_analysis.go @@ -4,7 +4,7 @@ import ( "git.noahlan.cn/noahlan/ntool-biz/nkatago/req" "git.noahlan.cn/noahlan/ntool-biz/nkatago/resp" "git.noahlan.cn/noahlan/ntool/ndef" - "git.noahlan.cn/noahlan/ntool/ngo/codec" + "git.noahlan.cn/noahlan/ntool/njson" "git.noahlan.cn/noahlan/ntool/nrandom" "git.noahlan.cn/noahlan/ntool/nstr" "git.noahlan.cn/noahlan/ntool/nsys/cmdn" @@ -39,7 +39,7 @@ func NewAnalysisEngine(name string, args ...string) (*AnalysisEngine, error) { engine := &AnalysisEngine{KatagoEngine: &KatagoEngine{ Processor: cmdn.NewProcessor( false, - cmdn.WithSerializer(codec.NewJsonSerializer()), + cmdn.WithSerializer(njson.NewJsonSerializer()), cmdn.WithStartupDecidedFunc(analStartupDecidedFunc), cmdn.WithEndLineDecidedFunc(analEndLineDecidedFunc), cmdn.WithReadIDFunc(analReadIDFunc),