Skip to content

fix: 检查 conn.Close() 返回值满足 lint 要求

6c44548
Select commit
Loading
Failed to load commit list.
Open

fix: 修复代码审查发现的问题 #30

fix: 检查 conn.Close() 返回值满足 lint 要求
6c44548
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 13, 2026 in 0s

80.85% (+0.08%) compared to 6bd2c00

View this Pull Request on Codecov

80.85% (+0.08%) compared to 6bd2c00

Details

Codecov Report

❌ Patch coverage is 47.16981% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.85%. Comparing base (6bd2c00) to head (6c44548).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
internal/app/conn.go 40.00% 47 Missing and 1 partial ⚠️
internal/db/mysql/driver.go 63.63% 3 Missing and 1 partial ⚠️
cmd/xsql/query.go 71.42% 2 Missing ⚠️
cmd/xsql/schema.go 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   80.76%   80.85%   +0.08%     
==========================================
  Files          36       37       +1     
  Lines        2392     2403      +11     
==========================================
+ Hits         1932     1943      +11     
- Misses        357      361       +4     
+ Partials      103       99       -4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.