assert

package
v0.0.0-...-c864ae1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RuntimeAssertion

type RuntimeAssertion struct{}

func That

func That(condition bool) *RuntimeAssertion

func (*RuntimeAssertion) Holds

func (a *RuntimeAssertion) Holds()

func (*RuntimeAssertion) WithFailureMessage

func (a *RuntimeAssertion) WithFailureMessage(messageOnFailure string) *RuntimeAssertion

Jump to

Keyboard shortcuts

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