Documentation ¶
Overview ¶
Package assert provides convenience functions that help a method or constructor check whether it was invoked correctly (whether its preconditions have been met).
When the assertion fails, a panic occurs, allowing bugs to be found in a fail-fast manner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectoryExists ¶
func DirectoryExists(dir string)
DirectoryExists asserts that a directory is on the current filesystem.
func GreaterThanOrEqualTo ¶
GreaterThanOrEqualTo asserts that value is greater than or equal to limit.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.