nullify

package
v0.11.4 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package nullify takes any structure as input and nullifies any matching pointer types as registered on the nullifier.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Nullify

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).

Types

This section is empty.

Jump to

Keyboard shortcuts

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