do animals go to heaven

package main

import "fmt"

type Animal struct {
    Name string
}

type Heaven struct {
    Inhabitants []Animal
}

func main() {
    animals := []Animal{
        {Name: "Dog"},
        {Name: "Cat"},
        {Name: "Elephant"},
        // Add more animals as needed
    }

    heaven := Heaven{Inhabitants: animals}

    for _, a := range heaven.Inhabitants {
        fmt.Printf("%s goes to heaven.\n", a.Name)
    }
}