Jump to Content

Andrew M McCall

Error Handling

Golang Check for Mysql Duplicate Key Error

In short, we cast the error to a Mysql Error and check the code