How to Create DB Migration Tool in Go from Scratch
Building a simple tool for DB Migrations in Go that can run up and down migrations and list status of each migrations.
Building a simple tool for DB Migrations in Go that can run up and down migrations and list status of each migrations.
Provides 5 ways to live reload go applications. The article covers tools Air, Gin, Nodemon and Fresh to add live reloading to your go application.
In Golang, one can pass the database connection to the controller as a global variable or by creating a separate struct or by creating a repository interface and passing it to the controller.