golang-for-python-programmers icon indicating copy to clipboard operation
golang-for-python-programmers copied to clipboard

go fmt vs gofmt

Open techtonik opened this issue 9 years ago • 2 comments

Should go fmt be used instead of gofmt? Looks like these are 2 different tools.

techtonik avatar Sep 01 '16 06:09 techtonik

They are very similar tools. It seems that some people prefer go fmt.

jmcvetta avatar Sep 03 '16 06:09 jmcvetta

Well, go fmt is available from go -h help.

techtonik avatar Sep 03 '16 07:09 techtonik