//
pkg.gl
Category
github.com/dxk1/logx
internal
exit
package
1.26.0
Repository:
https://github.com/dxk1/logx.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
1
Files
28 SLOC
#
Functions
Stub
Stub substitutes a fake for the call to os.Exit(1).
With
With terminates the process by calling os.Exit(code).
WithStub
WithStub runs the supplied function with Exit stubbed.
#
Structs
StubbedExit
A StubbedExit is a testing fake for os.Exit.