reflectutil

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetString

func GetString(i any, key string) string

func IsNil

func IsNil(i any) bool

func NameOf added in v0.46.0

func NameOf(i any, inclPkgPath bool) string

NameOf returns the name of a struct. If `inclPkgPath` is set to `true`, a fully-qualified name is returned including package path.

func Set

func Set(i any, key string, value any)

func SliceInterfaceToString

func SliceInterfaceToString(raws any) []string

SliceInterfaceToString converts an `any` to a `[]string`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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