List all files installed by a specific package:

sudo dnf repoquery -l golang-bin