Skip to content

hellojerry/learn_go_with_tests

Repository files navigation

assorted stuff

  1. race condition detector: go test -race
  2. benchmarker: go test -bench=.
  3. other memoryy bugs: go vet

: tests need to be in a file labeled "xx_test.go"

  • test function must start with Test
  • test function only takes in one arg: t *test.ing.T (it's a framework hook)

About

tracking repo for working through this book https://quii.gitbook.io/learn-go-with-tests/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages