houseme
7ffdff37e4
chore: upgrade golangci-lint configuration and optimize codebase ( #4236 )
...
This PR includes the following changes:
- **Upgrade `.golangci.yml`**: Updated the configuration file to align
with the latest golangci-lint version, ensuring compatibility and
leveraging new features.
- **Refactor GitHub Action workflow**: Modified `golangci-lint.yml` in
the GitHub Actions workflow to reflect the updated configuration and
improve CI performance.
- **Codebase optimization**: Refactored code to address issues and
warnings raised by the updated golangci-lint rules, including:
- Improved function length and complexity.
- Enhanced error handling and variable naming conventions.
- Fixed minor issues such as unused imports and formatting
inconsistencies.
These changes aim to maintain code quality, ensure compatibility with
the latest tools, and improve overall maintainability.
2025-08-22 13:29:09 +08:00
..
2025-08-22 13:29:09 +08:00
2023-10-19 19:58:19 +08:00
2023-08-14 09:53:13 +08:00
2022-02-22 10:51:22 +08:00
2024-12-09 23:12:09 +08:00
2025-02-27 11:59:26 +08:00
2022-07-27 19:52:02 +08:00
2024-01-06 13:03:49 +08:00
2024-09-26 09:50:07 +08:00
2022-03-19 17:58:21 +08:00
2023-09-25 21:34:58 +08:00
2025-08-22 13:29:09 +08:00
2022-05-23 22:09:11 +08:00
2022-03-19 17:58:21 +08:00
2025-03-17 09:21:00 +08:00
2025-04-02 19:56:28 +08:00
2022-03-19 17:58:21 +08:00
2022-11-01 20:12:21 +08:00
2025-03-08 20:56:27 +08:00
2022-03-19 17:58:21 +08:00
2025-08-22 13:29:09 +08:00
2021-10-11 21:41:56 +08:00
2025-03-25 20:42:30 +08:00
2024-12-01 10:05:46 +08:00
2022-03-19 17:58:21 +08:00
2025-08-22 13:29:09 +08:00
2024-03-28 20:07:56 +08:00
2024-12-10 09:52:48 +08:00
2023-09-11 10:15:08 +08:00
2023-11-14 20:00:26 +08:00
2024-12-26 10:18:47 +08:00
2024-12-11 10:14:12 +08:00
2022-03-19 17:58:21 +08:00
2024-12-26 10:18:47 +08:00
2024-09-19 14:10:16 +08:00
2022-03-19 17:58:21 +08:00
2021-10-11 21:41:56 +08:00
2022-12-22 17:21:33 +08:00
2024-12-26 10:18:47 +08:00
2022-03-19 17:58:21 +08:00
2023-07-06 21:29:33 +08:00
2021-11-13 23:23:55 +08:00
2024-12-10 09:52:48 +08:00
2025-08-22 13:29:09 +08:00
2024-12-26 10:18:47 +08:00
2024-03-24 21:18:30 +08:00
2023-09-25 21:34:58 +08:00
2023-07-06 21:29:33 +08:00
2024-09-28 18:10:53 +08:00
2023-10-09 20:03:45 +08:00
2023-11-02 09:48:39 +08:00
2023-07-06 21:29:33 +08:00
2022-05-06 20:25:21 +08:00
2025-05-16 17:55:00 +08:00
2024-06-13 21:16:11 +08:00
2025-02-27 11:59:26 +08:00
2023-05-24 17:21:28 +08:00
2022-03-19 17:58:21 +08:00
2021-10-21 18:22:47 +08:00
2023-12-28 20:13:21 +08:00
2021-01-16 22:31:48 +08:00
2024-03-24 21:18:30 +08:00
2024-12-26 10:18:47 +08:00
2023-09-07 20:22:20 +08:00
2022-02-14 14:50:25 +08:00
2025-03-06 23:04:26 +08:00
2022-02-22 14:12:09 +08:00
2022-03-02 15:33:58 +08:00
2024-12-10 09:52:48 +08:00
2022-02-22 20:49:09 +08:00
2024-12-10 09:52:48 +08:00
2022-02-22 14:12:09 +08:00
2022-02-22 14:12:09 +08:00
2024-09-28 20:58:04 +08:00
2022-12-07 20:02:46 +08:00
2025-02-27 11:59:26 +08:00
2022-02-22 14:12:09 +08:00
2024-12-07 14:17:33 +08:00
2024-01-06 13:03:49 +08:00
2024-12-07 14:17:33 +08:00
2022-02-22 14:12:09 +08:00
2022-02-22 14:12:09 +08:00
2025-03-14 18:23:07 +08:00
2025-02-27 11:59:26 +08:00
2025-03-25 20:42:30 +08:00
2022-02-22 14:12:09 +08:00
2024-12-07 14:17:33 +08:00
2023-09-07 20:22:20 +08:00
2023-09-07 20:22:20 +08:00
2022-03-10 11:36:40 +08:00
2022-02-22 14:12:09 +08:00
2023-07-06 21:29:33 +08:00
2022-02-22 14:12:09 +08:00
2022-02-22 14:12:09 +08:00
2022-03-10 11:36:40 +08:00
2023-11-02 09:48:39 +08:00
2023-07-06 21:29:33 +08:00
2022-02-22 14:12:09 +08:00
2022-03-10 11:36:40 +08:00
2022-02-22 14:12:09 +08:00
2022-02-22 14:12:09 +08:00
2025-03-17 09:21:00 +08:00
2023-09-07 20:22:20 +08:00
2023-12-20 20:21:15 +08:00
2022-03-17 16:58:04 +08:00
2022-02-22 14:12:09 +08:00
2022-03-17 16:58:04 +08:00
2022-11-01 20:12:21 +08:00
2025-03-08 20:56:27 +08:00
2024-12-09 23:12:09 +08:00
2023-09-25 21:34:58 +08:00
2025-03-17 09:21:00 +08:00