assert

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func So added in v0.12.0

func So(t T, actual any, assertion Func, expected ...any)

Types

type Fmt added in v0.17.0

type Fmt struct{}

func (Fmt) Error added in v0.17.0

func (Fmt) Error(a ...any)

func (Fmt) Helper added in v0.17.0

func (Fmt) Helper()

type Func added in v0.17.0

type Func func(actual any, expected ...any) error

type Log added in v0.12.0

type Log struct{}

func (Log) Error added in v0.17.0

func (Log) Error(a ...any)

func (Log) Helper added in v0.17.0

func (Log) Helper()

type T added in v0.17.0

type T interface {
	Helper()
	Error(...any)
}

Jump to

Keyboard shortcuts

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