Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BashMessageWithContext ¶
func BashMessageWithContext(msg string, context string, status int, stdout string, stderr string) string
BashMessageWithContext creates a new message that hierarchically puts the message within the provided context. Provides additional info on exit status code, stdout and stderr of executed bash command.
func DoAssert ¶
func DoAssert(value interface{}, rule interface{}) string
DoAssert asserts the value against the rule, returning an empty string if the assertion succeeds, or the error message.
func MessageWithContext ¶
MessageWithContext creates a new message that hierarchically puts the message within the provided context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.