package main import ( "tugas1/initializers" "tugas1/models" ) func init() { initializers.LoadEnvVariables() initializers.ConnectToDB() } func main() { initializers.DB.AutoMigrate(&models.Post{}) }