A compliment. Someone who has a "heart of gold" is very giving and unselfish. Also means that they're a genuinely good person.