Fix linter errors

This commit is contained in:
Daniel
2020-04-09 17:01:46 +02:00
parent bd7d08960e
commit d1430fe79d
3 changed files with 3 additions and 1 deletions

View File

@@ -41,6 +41,7 @@ func init() {
flag.BoolVar(&printStackOnExit, "print-stack-on-exit", false, "prints the stack before of shutting down")
}
// TestHookFunc describes the functions passed to TestMainWithHooks.
type TestHookFunc func() error
// TestMain provides a simple unit test setup routine.