package
1.2.0
Repository: https://github.com/hedhyw/json-log-viewer.git
Documentation: pkg.go.dev

# Functions

Context returns a test context with timeout.
RequireCreateFile is a helper that create a temporary file and deletes it at the end of the test.
RequireEncodeJSON marshals value to JSON.

# Constants

ErrTest is a fake constant error to use in tests.