Search Gear Notes

Search Gear #11- Testing and Coverage!

Thanks @rob_pike for sorting me out on cover and style. Rule for today run ‘go fmt’ to get that go code nice and formatted to standard style conventions! go-imports tool http://blog.golang.org/laws-of-reflection go test -v go test -cover go test -coverprofile=coverage.out go tool cover -func=cover.out go tool cover -html=coverage.out http://blog.golang.org/cover ~Oh you are joking! Simon-Harpers-iMac:searchgear sharper$…