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

romshark / gqlhash / 30226524978

27 Jul 2026 12:00AM UTC coverage: 98.667% (+0.2%) from 98.436%
30226524978

Pull #1

github

romshark
refactor!: Accept only string and []byte

A named []byte type satisfied ~string | ~[]byte but missed the type
switch in asString, which fell back to string(s). That copies the whole
document, so passing a json.RawMessage cost one allocation per call.

BREAKING CHANGE: a named string or []byte type no longer satisfies the
constraint. Convert it at the call site.
Pull Request #1: v2

1364 of 1368 new or added lines in 6 files covered. (99.71%)

1554 of 1575 relevant lines covered (98.67%)

45725.63 hits per line

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

99.46
/parser/parse.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc