check

package
v1.0.83 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IfNil

func IfNil(checker NilInterfaceChecker) bool

IfNil tests if the provided interface pointer or underlying object is nil

func IfNilReflect

func IfNilReflect(i interface{}) bool

IfNilReflect tests if the provided interface pointer or underlying pointer receiver is nil

Types

type NilInterfaceChecker

type NilInterfaceChecker interface {
	IsInterfaceNil() bool
}

NilInterfaceChecker checks if an interface's underlying object is nil

Jump to

Keyboard shortcuts

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