package models import ( "dev.sum7.eu/genofire/golang-lib/database" ) type Person struct { ID int `json:"id" gorm:"PRIMARY_KEY"` Name string `json:"name"` } // Function to initialize the database func init() { database.AddModel(&Person{}) }