News for hackers. Stuff that matters.
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.
Re:Facebook Go Libraries by boomlinde on Thursday November 13, 2014 @06:47PM (#8604924)
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.
Re:Facebook Go Libraries by enneff on Thursday November 13, 2014 @07:20PM (#8605082)
> 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.