[PR #366] [MERGED] fix: lint errors #574

Closed
opened 2026-02-25 23:34:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/366
Author: @fmartingr
Created: 2/13/2022
Status: Merged
Merged: 2/13/2022
Merged by: @fmartingr

Base: masterHead: fix/lint


📝 Commits (2)

📊 Changes

8 files changed (+141 additions, -83 deletions)

View changed files

📝 internal/cmd/export.go (+3 -1)
📝 internal/cmd/utils.go (+11 -13)
📝 internal/core/processing.go (+1 -1)
📝 internal/database/mysql.go (+24 -8)
📝 internal/database/pg.go (+36 -21)
📝 internal/database/sqlite.go (+46 -30)
📝 internal/webserver/handler-api.go (+1 -3)
📝 internal/webserver/handler-ui.go (+19 -6)

📄 Description

Fixed all offending code from a golangci-lint run so the future CI (#365) works on master without errors.

Most errcheck conditions have been done without modifications to the current workflow to avoid any new bugs except on those that clearly failed at the point of the error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-shiori/shiori/pull/366 **Author:** [@fmartingr](https://github.com/fmartingr) **Created:** 2/13/2022 **Status:** ✅ Merged **Merged:** 2/13/2022 **Merged by:** [@fmartingr](https://github.com/fmartingr) **Base:** `master` ← **Head:** `fix/lint` --- ### 📝 Commits (2) - [`248a3ad`](https://github.com/go-shiori/shiori/commit/248a3ad268bff3af67494d5ba87e9aba84cc3518) fix: lint errors - [`edbae73`](https://github.com/go-shiori/shiori/commit/edbae73166a7996cd88438a35d5ed324e9b61571) fix: errcheck ### 📊 Changes **8 files changed** (+141 additions, -83 deletions) <details> <summary>View changed files</summary> 📝 `internal/cmd/export.go` (+3 -1) 📝 `internal/cmd/utils.go` (+11 -13) 📝 `internal/core/processing.go` (+1 -1) 📝 `internal/database/mysql.go` (+24 -8) 📝 `internal/database/pg.go` (+36 -21) 📝 `internal/database/sqlite.go` (+46 -30) 📝 `internal/webserver/handler-api.go` (+1 -3) 📝 `internal/webserver/handler-ui.go` (+19 -6) </details> ### 📄 Description Fixed all offending code from a golangci-lint run so the future CI (#365) works on master without errors. Most `errcheck` conditions have been done without modifications to the current workflow to avoid any new bugs except on those that clearly failed at the point of the error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:34:46 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#574
No description provided.