helper

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CamelCase added in v1.0.0

func CamelCase(s string) string

CamelCase 使用大驼峰命名 s 并返回

func Convert added in v1.0.0

func Convert(t reflect.Type, field string, v any) any

Convert 将输入值 v 转换为指定的反射类型 t。 它通过全递归设计,统一处理了指针解包、指针包装、切片重组和标量转换。

func Deref added in v1.0.0

func Deref(t reflect.Type) reflect.Type

func UpperFirst

func UpperFirst(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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