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$…

Search Gear Notes

Search Gear #9 – Drone.io and More Testing!

Drone.io come through with an Academic account with free repos’! Nice one Brad @droneio. A-Level results day so no much Go-ing on! But re ran my test code after system restart – just in case it was anything I did in yesterdays session which didn’t continue through to today and SUCESS! Simon-Harpers-iMac:searchgear sharper$ go run…