You can use gold coins to speed up construction, training and research. In the relevant building's window, press the green button (displaying the price) to instantly complete the upgrade/training/construction. As long as you have enough gold coins, the work you wish to accelerate should finish instantaneously.