convert string to a byte golang code example Example: golang string to bytes hello := []byte("hello-world")