How to detect when bytes can't be converted to string in Go? How to detect when bytes can't be converted to string in Go? go go

How to detect when bytes can't be converted to string in Go?