1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Writing a Unit Test in Go

    goGo

    Golang has testing tools built into the standard go tool and the standard library. Here is how to write a unit test on a function so that you can run it with go test.