package
Version:
v0.17.0
Opens a new window with list of versions in this module.
Published: Jul 5, 2020
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package reflect extends the standard reflect package.
func IsEqual(x, y interface{}) bool
IsEqual is a naive interfaces comparison that check and use Equaler
interface.
func IsNil(v interface{}) bool
IsNil will return true if v's type is chan, func, interface, map, pointer,
or slice and its value is `nil`; otherwise it will return false.
type Equaler interface {
IsEqual(v interface{}) bool
}
Equaler is an interface that when implemented by a type, it will be used to
compare the value in Assert.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.