reflectx

package
v3.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package reflectx contains reflect extensions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StructOrStructPtrIsZero

func StructOrStructPtrIsZero(vop any) bool

StructOrStructPtrIsZero returns whether a given struct or struct pointer only contains zero-value public fields. This function panic if passed a value that is neither a pointer to struct nor a struct. This function panics if passed a nil struct pointer.

Types

This section is empty.

Jump to

Keyboard shortcuts

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