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

yyle88 / sure / 19261611549

11 Nov 2025 09:44AM UTC coverage: 35.167% (+0.5%) from 34.663%
19261611549

push

github

yangyile1990
Enhance bilingual comment format for inline comments

- Update inline comments in utils.go to follow bilingual standard
- Change pure Chinese comments to English-Chinese dual format
- Improve code readability and maintain consistency

0 of 4 new or added lines in 1 file covered. (0.0%)

148 existing lines in 6 files now uncovered.

390 of 1109 relevant lines covered (35.17%)

5.74 hits per line

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

0.0
/internal/examples/example_sure_pkg_gen/example2/example2.go
1
package example2
2

3
import (
4
        "encoding/json"
5

6
        "github.com/pkg/errors"
7
        "github.com/yyle88/sure/internal/utils"
8
)
9

UNCOV
10
func Neat[T any](a T) ([]byte, error) {
×
UNCOV
11
        return utils.NeatBytes(a)
×
UNCOV
12
}
×
13

UNCOV
14
func Bind[T any](data []byte) (*T, error) {
×
UNCOV
15
        var a T
×
UNCOV
16
        if err := json.Unmarshal(data, &a); err != nil {
×
UNCOV
17
                return nil, errors.WithMessage(err, "wrong")
×
UNCOV
18
        }
×
UNCOV
19
        return &a, nil
×
20
}
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