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

go-sql-driver / mysql / 6624041993 / 13
83%
master: 83%

Build:
DEFAULT BRANCH: master
Ran 24 Oct 2023 08:12AM UTC
Files 17
Run time 4s
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

24 Oct 2023 08:05AM UTC coverage: 82.267% (+0.005%) from 82.262%
6624041993.13

push

github

web-flow
Allow to change (or disable) the default driver name for registration (#1499)

A link variable now allows to change or disable the name of the driver
that is automatically registered with database/sql:

Change driver name:
    go build "-ldflags=-X github.com/go-sql-driver/mysql.driverName=custom"

Disable driver registration (set driverName to empty string):
    go build "-ldflags=-X github.com/go-sql-driver/mysql.driverName="

In the same way, a variable overridable at link time is also provided to
override the driver name used in the test suite. This allows to run our
test suite on another driver.

    go test "-ldflags=-X github.com/go-sql-driver/mysql.driverNameTest=custom"

driverName is propagated to driverNameTest unless driverNameTest is
explicitely defined.

3034 of 3688 relevant lines covered (82.27%)

44358.85 hits per line

Source Files on job macOS-Go-1.21-DB-8.0 - 6624041993.13
  • Tree
  • List 17
  • Changed 2
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6624041993
  • 62c29ce0 on github
  • Prev Job for on master (#6570325976.23)
  • Next Job for on master (#6624071306.1)
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