Let’s splash a little MySQL with our Go

Donald Feury
Aug 2, 2020

--

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.

I don’t know how to swim

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!

This was originally posted on my blog

--

--

Donald Feury
Donald Feury

Written by Donald Feury

Appalachian Boi, Technology Consultant, Content Creator

No responses yet