mirror of
https://gitee.com/johng/gf
synced 2026-06-06 02:25:47 +08:00
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.
27 lines
274 B
Plaintext
27 lines
274 B
Plaintext
.buildpath
|
|
.hgignore.swp
|
|
.project
|
|
.orig
|
|
.swp
|
|
.idea/
|
|
.settings/
|
|
.vscode/
|
|
vendor/
|
|
bin/
|
|
**/.DS_Store
|
|
.test/
|
|
cmd/gf/main
|
|
cmd/gf/gf
|
|
temp/
|
|
example/log
|
|
go.work
|
|
go.work.sum
|
|
!cmd/gf/go.work
|
|
.windsurfrules
|
|
|
|
# Ignore for docs
|
|
node_modules
|
|
.docusaurus
|
|
output
|
|
.example/
|
|
.golangci.bck.yml |