http://play.golang.org/p/CZTmhNepkM
Can somebody explain why we need bytes? For example on the go playgound, I am doing the same thing but strings package is easier than bytes to use. Why would someone need bytes package for HasSuffix features while we have strings package?
strings.HasSuffix(word, "ed")
bytes.HasSuffix(word_byte, []byte("ed"))