At what age can goats be slaughtered for eating

It is recommended that it has completed two years