SQL-to-Go

Convert MySQL to Go Statement

This tool converts create statement of mysql into Go type definition, and other SQL expressions will be ignored. Paste create statement on the left and the equivalent Go type will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!

For an example, try converting create statement from the MYSQL-DOC.

View on GitHub

Sql Go