assert

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

README

go-assert

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nil added in v0.2.0

func Nil(t TestingT, obj interface{}, msg ...interface{}) bool

Types

type Asserter

type Asserter struct {
	// contains filtered or unexported fields
}

func New

func New(t TestingT) *Asserter

func (*Asserter) Nil added in v0.2.0

func (r *Asserter) Nil(obj interface{}, msg ...interface{}) bool

type TestingT

type TestingT interface {
	Errorf(format string, args ...interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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