DEV Community

Cover image for Using MySQL Together With Go
Donald Feury
Donald Feury

Posted on • Edited on • Originally published at donaldfeury.xyz

Using MySQL Together With Go

Code can be found here

Time to start integrating some other tools with our go programs.

I figured a good place to start would be with a SQL database, since its very common to work with one. I chose MySQL for this example, as I have a lot of background with it from my PHP days.

We don't do anything crazy here, just demonstrate how to load the driver, connect to the database, and perform simple queries and prepared statements.

Check it out and let me know what ya'll think. Any feedback is greatly appreciated.

If you liked it and want to know when I post more, be sure to subscribe and thank ya'll again for your time!

Top comments (0)