Gold is still being used to coat electrical contacts in computers and other electronic equipment. Gold is an inert metal and, therefore, does not corode as silver and copper would; so it makes for reliable contact material. Back before the "locked" price of gold was dropped in the US, manufacturers used thicker coats on the contacts. After the set price of gold was dropped and we went to the world spot pricing, manufacturers had to thin out the coatings to save money, but they still use it. It'll take more pieces of material to refine for the gold, but at about $1000 troy ounce, a little bit goes a long way.
The only thing that will dissolve gold is an acid called Aqua Regia. It's made by combining nitric acid and sulfuric acids and warming the concoction. VERY DANGEROUS STUFF. Amateurs should stay away from Aqua Regia. One way that could be safer and usable on smaller pieces of scrap is to use a concentrated amount of nitric acid to eat away the material that the gold is plated on. Kind of a backdoor way of getting the little bit of gold from the board contacts and pins. You should try this outdoors in good ventilation. Use full face shields, painters' filter masks using filter cans designed for chemicals and fumes.(these can be found at NAPA Auto Parts as well as other stores. Do not skimp on the filters.) Also, get a pair of rubber gloves that are designed for using acids and other chemicals. (these are reusable, not disposable types.) Use glass containers and remember, ALWAYS ADD ACID TO WATER; NOT WATER TO ACID.
Do your research before getting into this.