output formatting with string.Join

PHOTO EMBED

Wed Nov 16 2022 15:43:52 GMT+0000 (Coordinated Universal Time)

Saved by @Plastikov #go

return errors.New(fmt.Sprintf("invalid input, unknown animal '%s', usage: newanimal <name> <%s>", kind, strings.Join(validAnimals, "|")))
content_copyCOPY