Well, knowing almost nothing about real goat issues, and having learned only rudimentary issues with goats, I would start with medicinals that will do the job you want that are safe for the goats to eat. Comfrey is the first to come to mind.
I do make an all natural, herbal ointment for people that my daughter has used on her dogs to great effect. It has comfrey leaf and
root. It also has
alot of other stuff that may not be good for goats,
should they lick it off. Tea tree oil, lavender oil, cedarwood oil being the ones I would think might not be best for goats. But the dogs don't lick it off!
The base oil you use should also be goat safe; I use olive, as it has it's own healing properties. And I thicken with beeswax. I can't imagine that to be a bad thing for anyone in the small quantities used. Unless an entire jar is consumed!
Good luck.