From 1eef8c1781af19ea2dede284e3bde4a1cae6a587 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Fri, 13 Oct 2023 11:51:32 +0800 Subject: [PATCH] chore: import packages only once Signed-off-by: guoguangwu --- parser/files/indexing.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parser/files/indexing.go b/parser/files/indexing.go index b4df72db..ef42e17a 100644 --- a/parser/files/indexing.go +++ b/parser/files/indexing.go @@ -13,7 +13,6 @@ import ( log "github.com/sirupsen/logrus" "github.com/activecm/rita/config" - "github.com/activecm/rita/parser/parsetypes" pt "github.com/activecm/rita/parser/parsetypes" ) @@ -93,7 +92,7 @@ func newIndexedFile(filePath string, targetDB string, targetCID int, } //parse first line - var line parsetypes.BroData + var line pt.BroData if toReturn.IsJSON() { line = ParseJSONLine(scanner.Bytes(), broDataFactory, logger) } else {