Photo-induced synthesis of ternary Pt/rGO/COF photocatalyst with Pt nanoparticles precisely anchored on rGO for efficient visible-light-driven H2 evolution.