Documentation ¶
Index ¶
- func Bool2Int[T constraints.Integer](b bool) T
- func Bytes2String(b []byte) string
- func FullName(i any) string
- func FullNameRT(t reflect.Type) string
- func FullNameT[T any]() string
- func Int2Bool[T constraints.Integer](v T) bool
- func Name(i any) string
- func NameRT(t reflect.Type) string
- func NameT[T any]() string
- func New(t any) reflect.Value
- func NewCopied(src any) reflect.Value
- func NewCopiedRT(src reflect.Value) reflect.Value
- func NewCopiedT[T any](src T) *T
- func NewRT(t reflect.Type) reflect.Value
- func NewT[T any]() *T
- func Panic2Err(panicInfo any) error
- func String2Bytes(s string) []byte
- func WriteFullName(sb *strings.Builder, i any)
- func WriteFullNameRT(sb *strings.Builder, t reflect.Type)
- func WriteFullNameT[T any](sb *strings.Builder)
- func Zero(t any) reflect.Value
- func ZeroRT(t reflect.Type) reflect.Value
- func ZeroT[T any]() T
- type Bits16
- type Bits32
- type Bits64
- type Bits8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCopiedRT ¶ added in v0.3.65
NewCopiedRT 新建拷贝值
func WriteFullName ¶ added in v0.3.65
WriteFullName 写入类型全名
func WriteFullNameRT ¶
WriteFullNameRT 写入类型全名
Types ¶
Click to show internal directories.
Click to hide internal directories.