mockable

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableMock added in v0.11.7

func DisableMock()

DisableMock restores the default os.Exit behavior

func EnableMock

func EnableMock()

EnableMock enables mocking of os.Exit

func Exit

func Exit(code int)

Exit calls the current exit function

func ExitCode

func ExitCode() int

ExitCode returns the last exit code from a mocked Exit call

Types

This section is empty.

Jump to

Keyboard shortcuts

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