Normally you got a cathode and an anode and one gives the material and one receives the material
But I seem to remember with gold the gold is in a solution and electrochemically transferred
So if you have that solution in a depleted state ( all the gold gone ) and then you reverse the current ( make the positive pole the negative ) it should work
