Improve: Impled passing mime type parameter to send request #7
Annotations
10 errors and 9 warnings
golangci-lint:
internal/pkg/ocr/tesseract/tesseract.go#L4
could not import github.com/otiai10/gosseract/v2 (-: # github.com/otiai10/gosseract/v2
|
golangci-lint:
internal/pkg/ocr/tesseract/tesseract.go#L8
undefined: gosseract (typecheck)
|
golangci-lint:
internal/pkg/ocr/tesseract/tesseract.go#L12
undefined: gosseract (typecheck)
|
golangci-lint:
test/mocked/mocked.go#L1
: # doc-notifier/test/mocked
|
golangci-lint:
test/mocked/mocked.go#L14
undefined: sender.RecognitionURL
|
golangci-lint:
test/mocked/mocked.go#L15
undefined: sender.EmbeddingsURL
|
golangci-lint:
test/mocked/mocked.go#L22
undefined: sender.DocumentForm
|
golangci-lint:
test/mocked/mocked.go#L44
undefined: sender.TokenizerForm
|
golangci-lint:
test/mocked/mocked.go#L54
undefined: sender.CreateTokenizedVectors (typecheck)
|
golangci-lint:
test/sender/ocr_test.go#L7
could not import doc-notifier/test/mocked (-: # doc-notifier/test/mocked
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
internal/pkg/ocr/raw/raw.go#L8
exported: type name will be used as raw.RawExractor by other packages, and that stutters; consider calling this Exractor (revive)
|
golangci-lint:
internal/pkg/reader/reader.go#L3
exported: type name will be used as reader.ReaderService by other packages, and that stutters; consider calling this Service (revive)
|
golangci-lint:
internal/pkg/tokenizer/none.go#L10
unused-parameter: parameter 'text' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
internal/pkg/tokenizer/tokenizer.go#L3
exported: type name will be used as tokenizer.TokenizerService by other packages, and that stutters; consider calling this Service (revive)
|
golangci-lint:
internal/pkg/tokenizer/form.go#L3
exported: type name will be used as tokenizer.TokenizerForm by other packages, and that stutters; consider calling this Form (revive)
|
golangci-lint:
internal/pkg/searcher/searcher.go#L13
exported: type name will be used as searcher.SearcherService by other packages, and that stutters; consider calling this Service (revive)
|
golangci-lint:
internal/pkg/ocr/assistant/assistant.go#L13
exported: type name will be used as assistant.AssistantOCR by other packages, and that stutters; consider calling this OCR (revive)
|
golangci-lint:
internal/pkg/ocr/dedoc/dedoc.go#L13
exported: type name will be used as dedoc.DedocOCR by other packages, and that stutters; consider calling this OCR (revive)
|
Loading