Goats will usually not eat plants that are toxic for them unless very hungry. Look out for the following toxic plants: lantana, castor bean, cassava or plants from the nightshade family.
Attribution: Avallain