Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dereference ¶
Dereference returns the value after all pointers and interfaces. Is case of types that can be nil but aren't pointers, like maps or slices, it does nothing.
Types ¶
type DereferenceNil ¶
type DereferenceNil struct{}
DereferenceNil is returned Dereference is called with nil pointers.
func (*DereferenceNil) Error ¶
func (d *DereferenceNil) Error() string
Error ensures DereferenceNil implements the error interface.
Click to show internal directories.
Click to hide internal directories.