func resumefromthestart(lockdown string, vaccines map[string]int) { if preestablished, ok := vaccines[lockdown]; ok { for vaccine, dose := range vaccines { fmt.println("do not forget, during a lockdown, each vaccine follows a specification:", vaccine, "requires", dose, "doses") } } else { fmt.println("remember to resume from the start if you forget the preestablished specification during a lockdown.") } }