reflection

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package reflection provides utilities for working with Go's reflection system. It includes functions for deep cloning of values, handling nil checks, and other reflection-based operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone[T any](v T) T

Clone creates and returns a deep copy of the input value.

func IsNil

func IsNil[T any](v T) bool

IsNil checks if the given value is nil, supporting both typed and untyped nils.

Types

This section is empty.

Jump to

Keyboard shortcuts

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