package
Version:
v0.9.1
Opens a new window with list of versions in this module.
Published: Jul 28, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package nullify takes any structure as input and nullifies any matching
pointer types as registered on the nullifier.
func Nullify(input interface{}, ts ...interface{}) error
Nullify takes an input and nullifies all the types t. The types t should
be pointer types, i.e. (*Foo)(nil).
Source Files
¶
Click to show internal directories.
Click to hide internal directories.