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

yyle88 / neatjson / 18333132454

08 Oct 2025 03:41AM UTC coverage: 20.354% (-1.8%) from 22.154%
18333132454

push

github

yangyile1990
Improve documentation and code quality with demos and enhancements

- Create demo1x and demo2x with complete runnable code examples
- Add source code links to all code examples in README
- Reorganize Examples section consolidating fragmented features
- Update both English and Chinese documentation with same structure
- Add bilingual package and function comments to main code files
- Upgrade dependencies to latest versions in go.mod
- Enhance GitHub Actions workflow with govulncheck and test artifacts
- Add comprehensive test coverage for core functions

7 of 26 new or added lines in 3 files covered. (26.92%)

69 of 339 relevant lines covered (20.35%)

3.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/internal/demos/demo2x/main.go
1
package main
2

3
import (
4
        "fmt"
5

6
        "github.com/yyle88/neatjson/neatjsons"
7
)
8

NEW
9
func main() {
×
NEW
10
        // Format compact JSON bytes to readable string
×
NEW
11
        jsonBytes := []byte(`{"name":"test","age":30,"active":true}`)
×
NEW
12

×
NEW
13
        result := neatjsons.SxB(jsonBytes)
×
NEW
14
        fmt.Println(result)
×
NEW
15
}
×
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

© 2025 Coveralls, Inc