reflect

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(value interface{}, to reflect.Type) (reflect.Value, error)

Convert converts given value to given type whenever it is possible. In opposition to built-in reflect package it allows to convert []interface{} to []type and []type to []interface{}.

func IsNilable

func IsNilable(k reflect.Kind) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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