Categorygithub.com/go-mysql/errors
repositorypackage
0.0.0-20180603193453-03314bea68e0
Repository: https://github.com/go-mysql/errors.git
Documentation: pkg.go.dev

# README

MySQL Error Handling

Go Report Card GoDoc

go-mysql/errors provides functions and variables for handling common MySQL errors.

Testing

Requires MySQL Sandbox. Install and export MYSQL_SANDBOX_DIR env var. For example: MYSQL_SANDBOX_DIR=/Users/daniel/sandboxes/msb_5_7_21/ on a Mac. Tests take ~15s because the MySQL sandbox is restarted several times. Current test coverage: 100%.