Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
wyufro
· 7y ago · 0 comments
I'm speculating, but sizeof(bool) == 1, sizeof(struct{}) == 0 and sizeof(interface{}) == 8, so might be as simple as that.
https://play.golang.org/p/5acy87JLD3i
Comments
[–]
Insanity
7y ago
Yup that well could be it!