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

go-sql-driver / mysql / 26049486255 / 24
83%
master: 83%

Build:
Build:
LAST BUILD BRANCH: copilot/support-rows-column-scanner
DEFAULT BRANCH: master
Ran 18 May 2026 06:34PM UTC
Files 18
Run time 16s
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

18 May 2026 05:28PM UTC coverage: 81.905% (-0.07%) from 81.978%
26049486255.24

Pull #1770

github

c-tonneslan
dsn: default Net to 'tcp' in NewConfig so Addr-only configs round-trip

Closes #1616.

NewConfig() left Net empty, so building a Config in code with just an
Addr and calling FormatDSN produced '/' (no tcp prefix, no address)
instead of 'tcp(my-address)/'. Default Net to 'tcp' to match the docs,
and skip the bare protocol in FormatDSN when there's no Addr so a
fresh NewConfig().FormatDSN() doesn't grow a useless 'tcp' prefix.

Signed-off-by: Charlie Tonneslan <cst0520@gmail.com>
Pull Request #1770: dsn: default Net to tcp in NewConfig so Addr-only configs round-trip

3345 of 4084 relevant lines covered (81.9%)

83248.06 hits per line

Source Files on job macOS-Go-1.26-DB-8.0 - 26049486255.24
  • Tree
  • List 18
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26049486255
  • cc7b8e9c on github
  • Prev Job for on fix/newconfig-default-net (#25111743223.6)
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