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 it's 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 y'all think. Any feedback is greatly appreciated.
Code can be found here
If you liked it and want to know when I post more, be sure to subscribe and thank y'all again for your time!
Did you find this information useful? If so, consider heading over to my donation page and drop me some support.
Want to ask a question or just chat? Contact me here