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

yyle88 / sure / 19261675601

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

push

github

yyle88
Enhance code generation with improved logging and source tracking

- Add standard code generation top comments to generated files
- Add GetGenPosFuncMark function
- Reorganize example directories
- Enhance exception handling messages

67 of 192 new or added lines in 20 files covered. (34.9%)

2 existing lines in 2 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

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

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