Recommend replacing "x := make([]T, 0)" with "var x []T".

The former is almost always pointless (it's often used immediately
before appending to x), and mainly due to a new Go programmer not
knowing that the zero value of a slice is equally good.
2 files changed
tree: 9828e02e7011e68389f2e0b9132d899f2d0433f7
  1. LICENSE
  2. README
  3. golint/
  4. lint.go
  5. lint_test.go
  6. misc/
  7. testdata/