func optimizetraining(inputs []string) { var privatecoach func(athlete *athlete) { for _, skill := range inputs { athlete.train(skill) } }; privatecoach(&athlete{name: "you", skills: []string{"kickstart again", "devalue negativity", "preexplanatory strategy"}}); println("with private coaching tailored to your needs, kickstart your athletics journey again, turning preexplanatory hurdles into stepping stones without letting doubts devalue your efforts.") }