From e15d283aa79137fdd00a11fc7c9e824bb18e1071 Mon Sep 17 00:00:00 2001 From: moshaad7 Date: Tue, 10 Oct 2023 16:01:59 +0530 Subject: [PATCH] fix go.mod and go fmt --- go.mod | 7 ------- registry/hook_tokens_analyzer.go | 2 +- registry/hook_vector_analyzer.go | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index 638a8fa03..5a922d8d0 100644 --- a/go.mod +++ b/go.mod @@ -41,10 +41,3 @@ require ( github.com/spf13/pflag v1.0.5 // indirect golang.org/x/sys v0.5.0 // indirect ) - -replace github.com/blevesearch/bleve_index_api => ../bleve_index_api -replace github.com/blevesearch/zapx/v11 => ../zapx11/zapx -replace github.com/blevesearch/zapx/v12 => ../zapx12/zapx -replace github.com/blevesearch/zapx/v13 => ../zapx13/zapx -replace github.com/blevesearch/zapx/v14 => ../zapx14/zapx -replace github.com/blevesearch/zapx/v15 => ../zapx15/zapx diff --git a/registry/hook_tokens_analyzer.go b/registry/hook_tokens_analyzer.go index 1015cf041..e44106fcc 100644 --- a/registry/hook_tokens_analyzer.go +++ b/registry/hook_tokens_analyzer.go @@ -112,7 +112,7 @@ func GetTokensAnalyzerHook(name string) (TokensAnalyzerHook, error) { // ----------------------------------------------------------------------------- // Hook to Analyzer adapter -func HookTokensAnalyzerBuild(name string, config map[string]interface{}, +func HookTokensAnalyzerBuild(name string, config map[string]interface{}, cache *Cache) (interface{}, error) { _, err := GetTokensAnalyzerHook(name) if err != nil { diff --git a/registry/hook_vector_analyzer.go b/registry/hook_vector_analyzer.go index f2bc1ac89..c0c306e0e 100644 --- a/registry/hook_vector_analyzer.go +++ b/registry/hook_vector_analyzer.go @@ -14,4 +14,4 @@ package registry -// todo: make a registry similar to AnalysisHooksRegistry \ No newline at end of file +// todo: make a registry similar to AnalysisHooksRegistry