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. golint/
  2. misc/
  3. testdata/
  4. LICENSE
  5. lint.go
  6. lint_test.go
  7. README