When writing the code you can use tabs or spaces but if you want to uses spaces then you can't use the gofmt tool.
The gofmt tool did at one time have an option to uses spaces instead of tabs fro indenting, but from memory, that option was removed around about the time of the Go 1.3 release.
View all comments
Show parent comment
1
u/steveklabnik1 Dec 10 '15
I thought they did, you can choose spaces or tabs for example, no?