Generating migrations for gorm with Atlas
For those unfamiliar with gorm, it is the most popular orm for Go, which lets you define Go structs and work with SQL databases(sqlite, PG, MySQL etc.).
Here is an example,
type User struct {
gorm.Model
Name string
}
db.First(&user, "10")
//...
exp.amal.sh3 min read