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

From the topmost section:

We use tabs for indentation and gofmt emits them by default. Use spaces only if you must



Code formatting conformity is pretty big in the Go culture.

Go the language doesn't care if you use tabs or spaces, Go the community would prefer you to use tabs so when your Go code is loaded in whatever random editor any member of the community uses there are no surprises.


I only care that it was formatted with gofmt.




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

Search: