To find the golden weapons, you will have to play in the Overwatch competitive game mode. By doing so, you will accumulate competitive points (CP) which are used as currency when buying the golden weapon.
At the moment current amount of CP needed to obtain golden weapon is 3000 CP.