/go-mysql-errors

MySQL error handling for Go

Primary LanguageGoGNU General Public License v3.0GPL-3.0

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%.