reflectx

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package reflectx contains reflection-related utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BitSize

func BitSize[T any]() int

BitSize returns the number of bits used to represent T.

func KindOf

func KindOf[T any]() reflect.Kind

KindOf returns the kind of T.

func TypeOf

func TypeOf[T any]() reflect.Type

TypeOf returns the type of T.

Types

This section is empty.

Jump to

Keyboard shortcuts

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