Page MenuHomePhabricator

Add GoFmt linter
Needs ReviewPublic

Authored by eMxyzptlk on Apr 30 2015, 5:43 AM.

Details

Reviewers
None
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T6867: Add linter and unit test engine for Go(lang)
Summary

Unlike GoLint or GoVet, Gofmt formats Go programs. It uses tabs (width= 8) for indentation and blanks for alignment.

Refs T6867

Test Plan

All of the unit tests are derived from real Go files that were formatted by gofmt.