internal/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MIT

README

Internal utils

The internal packages contain all the helpful generic solutions developed to support the functionality of the go-testing framework, but are not supposed to be exported and used by others.

The internal packages consist of the following sub-packages:

  • iter provides iterator wrappers for structures in standard packages that do not provide these yet.

  • maps provides helpful functions for maps that are not supported by the standard map packages yet.

  • reflect contains a collection of helpful generic functions that support reflection. The functions are used by the mock and the test packages to implement major features.

  • slices contains a collection of helpful generic functions for working with slices. The functions are mainly used by the perm and the test package to implement minor features.

  • sync provides a lenient wait group implementation for coordinating mocks in the isolated tests to gracefully unlock all waiters after test failures to finish the test.

Directories

Path Synopsis
Package iter contains a collection of helpful generic functions for working with iterators that only exist because the standard iterator packages do not support these generic functions.
Package iter contains a collection of helpful generic functions for working with iterators that only exist because the standard iterator packages do not support these generic functions.
Package maps contains a collection of helpful generic functions for working with maps, that only exist because the standard map packages do not support these generic functions.
Package maps contains a collection of helpful generic functions for working with maps, that only exist because the standard map packages do not support these generic functions.
Package mock provides the classes and tools of the advanced mock generator that nicely integrate with the testing framework.
Package mock provides the classes and tools of the advanced mock generator that nicely integrate with the testing framework.
test
Package test contains an interface and types for testing the mock package loading and mock file generating from template.
Package test contains an interface and types for testing the mock package loading and mock file generating from template.
testx
Package test_test contains an interface and types for testing the mock package loading and mock file generating from template.
Package test_test contains an interface and types for testing the mock package loading and mock file generating from template.
Package reflect contains a collection of helpful generic functions that support reflection.
Package reflect contains a collection of helpful generic functions that support reflection.
Package slices contains a collection of helpful generic functions for working with slices.
Package slices contains a collection of helpful generic functions for working with slices.
Package sync contains a small collection of helpful generic functions and types for synchronization.
Package sync contains a small collection of helpful generic functions and types for synchronization.

Jump to

Keyboard shortcuts

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