3 Commits

Author SHA1 Message Date
Peter Bourgon
90a0286909 Refactor tests to have appropriate packages
By default, tests should be in package pkg_test. If they need to test
package internals, they can be in package pkg, but then should carry a
suffix of foo_internal_test.go.

This changeset enforces that idiom across the codebase, and adds a check
to the linter to make sure it remains.

Also, some fixes to comments.
2015-06-29 18:06:44 +02:00
Tom Wilkie
617106829a Add simple spellchecking to linter. 2015-06-17 10:16:43 +00:00
Tom Wilkie
4c3912edf0 Add lint script; run it on circle. Intentionally don't lint static.go. 2015-05-19 10:43:04 +00:00