Gold has much higher first ionisation energy than boron, yet gold is a metal while boron is a non- metal. Explain

This is based on their crystal structure. Gold has a coordination number of 12 while boron has 6 or
less than 6.