Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> and if it's on by default there'd then have to be some opt-out which there isn't a good mechanism for.

Good is subjective, but the mechanism is something already implemented: https://pkg.go.dev/structs#HostLayout



Oh interesting, I've not encountered that before - I suppose because it is currently the default behaviour.

What I was hoping not to find (and fortunately didn't!) was one of Go's magical syntactic comments.




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

Search: