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

Zero values in struct initialization (and other places) is a routinely encountered behavior in go.

http://golang.org/ref/spec#The_zero_value



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

Search: