internal

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kind

func Kind(dest any) reflect.Type

Kind 获取接口或指针指向的底层类型

func ParseTagSetting

func ParseTagSetting(str string, sep string) map[string]string

ParseTagSetting 解析结构体标签设置

func ToArray

func ToArray(v any) (r []any)

ToArray 将任意类型转换为 []interface{}

func ToInt

func ToInt(i any) (r int64)

ToInt 将任意类型转换为 int64

func ToInt32

func ToInt32(i any) int32

ToInt32 将任意类型转换为 int32

func ToString

func ToString(value any) string

ToString 将任意类型转换为字符串

func ValueOf

func ValueOf(i any) reflect.Value

ValueOf 获取接口或值的 reflect.Value

Types

This section is empty.

Jump to

Keyboard shortcuts

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