Re:Facebook Go Libraries
by ominous_prime on Thursday November 13, 2014 @02:05PM
(#8603371)
I don't think gofmt assumes any width for tabs. It, prints `\t` for indentation, and that's all.
[ Parent
| on HN ]
It has the -tabwidth option, defaulting to 8. I have yet to figure out what it's used for, but presumably there is some case where it is used for alignment.
> It has the -tabwidth option, defaulting to 8
It was only used when you invoked the other option to use spaces instead of tabs. Both options are now removed. gofmt doesn't care how wide your tabstops are.