• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

l50 / goutils / 11432621334 / 1
88%
main: 88%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2024 03:31AM UTC
Files 33
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Oct 2024 03:25AM UTC coverage: 63.311% (+3.9%) from 59.436%
11432621334.1

push

github

web-flow
Enhance logging and documentation generation (#893)

**Key Changes:**
- Refactored PrettyHandler for improved color support and flexibility
- Updated docGeneration to use go/packages for more robust parsing
- Enhanced error handling and logging across multiple packages
- Improved test coverage for logging and documentation generation

**Added:**
- JSON output option for logging
- Debug logging for file system operations in doc generation
- Helper functions for common test setup tasks in docGeneration_test.go
- New OutputType enum to support different logging output formats

**Changed:**
- Updated PrettyHandler to support both color and JSON output
- Refactored CreatePackageDocs to use go/packages for improved parsing
- Enhanced error handling in various functions, using errors.New() consistently
- Improved test cases for PrettyHandler and docGeneration
- Updated LogAndReturnError to use errors.New() for consistency

**Removed:**
- Unused code in docGeneration.go, including redundant type info extraction
- Deprecated outputToFile function in PrettyHandler

1855 of 2930 relevant lines covered (63.31%)

10.7 hits per line

Source Files on job 11432621334.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11432621334
  • 3fe77383 on github
  • Prev Job for on main (#9931317409.1)
  • Next Job for on main (#11432710840.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc