package
0.0.0-20240513120632-16ee337943b8
Repository: https://github.com/sunzip/zap.git
Documentation: pkg.go.dev

# Functions

Stub substitutes a fake for the call to os.Exit(1).
With terminates the process by calling os.Exit(code).
WithStub runs the supplied function with Exit stubbed.

# Structs

A StubbedExit is a testing fake for os.Exit.