chore(rename): Renamed md5 to id for document field #87
Annotations
10 errors and 11 warnings
internal/searcher/searcher.go#L91
string `unrecognized` has 3 occurrences, make it a constant (goconst)
|
internal/sender/sender.go#L26
commentFormatting: put a space between `//` and comment text (gocritic)
|
internal/server/files.go#L17
commentFormatting: put a space between `//` and comment text (gocritic)
|
internal/server/files.go#L22
commentFormatting: put a space between `//` and comment text (gocritic)
|
internal/server/files.go#L43
Comment should end in a period (godot)
|
internal/server/files.go#L80
Comment should end in a period (godot)
|
internal/server/files.go#L125
Comment should end in a period (godot)
|
internal/sender/sender.go#L50
G107: Potential HTTP request made with variable url (gosec)
|
internal/ocr/logoper/logoper.go#L126
G107: Potential HTTP request made with variable url (gosec)
|
internal/searcher/searcher.go#L58
line is 135 characters (lll)
|
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/.
|
internal/reader/reader.go#L84
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
internal/reader/reader.go#L99
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
internal/reader/document.go#L53
var-naming: struct field JobId should be JobID (revive)
|
internal/reader/document.go#L62
var-naming: struct field GroupJsonName should be GroupJSONName (revive)
|
internal/reader/document.go#L65
var-naming: struct field JsonName should be JSONName (revive)
|
internal/ocr/processing/processing.go#L8
var-naming: struct field JobId should be JobID (revive)
|
internal/ocr/processing/processing.go#L15
var-naming: interface method parameter jobId should be jobID (revive)
|
internal/ocr/raw/raw.go#L39
unused-parameter: parameter 'jobId' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/sender/sender.go#L17
unused-parameter: parameter 'timeout' seems to be unused, consider removing or renaming it as _ (revive)
|
internal/ocr/logoper/forms.go#L16
var-naming: struct field JobId should be JobID (revive)
|
This job succeeded
Loading