July 2019
Intermediate to advanced
502 pages
14h
English
Let's look at some of the helper functions for testing services. The test_util package is very basic and uses Go standard packages as dependencies:
package test_utilimport ( "context" "os" "os/exec" )
It provides an error checking function and two functions to run and stop services.