exiter

module
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: BSD-3-Clause

README

exiter

exiter is a package that enables testing of functions that use the os.Exit() method for running commands.

In your tests, you can create an exit function and set it as the function to be used for testing.

Example

See the following files from the devsupport project.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL