Light-driven Au(III)-promoted cleavage of triazole-bearing amine derivatives and its application in the detection of ionic gold.