Unless you have a 100% stateless application (which in reality, no one truly does) you ALWAYS need some place to store stateful data. When you're writing application code, either your backend or/and frontend/end will connect to a database..
But how do you do it?
In this video, we go over how to use `gorm` (ORM for Go) and Go (golang) to write a web API and connect to a database.
🆘🆘 NEED HELP WITH DEVOPS AND SRE? FOLLOW MY BLOG!
[ Ссылка ]
👊 Need quality and scalability for your DevOps and SRE project? 👊
[ Ссылка ]
[ Ссылка ]
FOLLOW ME EVERYWHERE
---------------------------------------------------
Twitter: [ Ссылка ]
LinkedIn: [ Ссылка ]
Website: [ Ссылка ]
0:00 ⏩ Intro
1:50 ⏩ MySQL on Azure
3:16 ⏩ Writing a Go Web API
6:14 ⏩ Writing a Create function in Go
11:43 ⏩ Connecting to MySQL, creating a database, and creating a table
12:52 ⏩ Running the app
#programming #golang #mysql
Ещё видео!