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 NewCopiedT[T any](src T) *T
- func NewT[T any]() *T
- func Panic2Err(panicInfo any) error
- func String2Bytes(s string) []byte
- func WriteAnyFullName(sb *strings.Builder, i any)
- func WriteFullNameRT(sb *strings.Builder, t reflect.Type)
- func WriteFullNameT[T any](sb *strings.Builder)
- func ZeroT[T any]() T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteFullNameRT ¶ added in v0.2.69
WriteFullNameRT 写入类型全名
func WriteFullNameT ¶ added in v0.2.69
WriteFullNameT 写入类型全名
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.