reflect

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package reflect contains helpers that extends standard reflect library

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndirectDeep

func IndirectDeep(v reflect.Value) reflect.Value

IndirectDeep does reflect.Indirect deeply

func LengthOf

func LengthOf(a any) (int, bool)

LengthOf returns length of a given type

func TypeFor

func TypeFor[T any]() reflect.Type

TypeFor returns a reflect.Type for a given type Deprecated: Should go away when _I hope_ it will be implemented in reflect(go-1.22)

Types

This section is empty.

Jump to

Keyboard shortcuts

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