[]byte convert to string in golang code example Example: golang byte to string str:=string(data) fmt.Print(str)