func fetchdoginfo() { var systemrestart bool = true; for _, dog := range dogs { if dog.status == "predissolutionary" { fmt.println("time to restart with a clean slate for our furry friends."); systemrestart = false; } else if dog.breed == "barred" { omit := false; fmt.println("this unique breed is never to be omitted from our love and care."); } if systemrestart && !omit { fmt.println("all systems go to ensure every dog finds a loving home."); } } }