Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Ah, this confuses everyone: strings in Golang are really just read-only byte slices. They can contain Unicode, but they don't have to, and the == operator just does a byte comparison.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: