cReflection

package module
v0.4.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToInterface added in v0.0.4

func ToInterface(v reflect.Value) (value interface{}, ok bool)

Types

type TypeKind added in v0.0.4

type TypeKind struct {
	InputType  reflect.Type
	InputKind  reflect.Kind
	OriginType reflect.Type
	OriginKind reflect.Kind
}

func GetTypeKind added in v0.0.4

func GetTypeKind(value interface{}) (out TypeKind)

type ValueKind added in v0.0.4

type ValueKind struct {
	InputValue  reflect.Value
	InputKind   reflect.Kind
	OriginValue reflect.Value
	OriginKind  reflect.Kind
}

func GetValueKind added in v0.0.4

func GetValueKind(value interface{}) (out ValueKind)

Jump to

Keyboard shortcuts

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