Documentation ¶ Index ¶ func Copy(s reflect.Value) reflect.Value func DeepCopy[T any](src T) T func GetPointer[T any](src T) reflect.Value func GetPtrUnExportFiled(s reflect.Value, filedIndex int) reflect.Value func SetPtrUnExportFiled(s reflect.Value, filedIndex int, val reflect.Value) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Copy ¶ func Copy(s reflect.Value) reflect.Value Copy 拷贝 func DeepCopy ¶ func DeepCopy[T any](src T) T DeepCopy 深拷贝 func GetPointer ¶ func GetPointer[T any](src T) reflect.Value GetPointer 获取指针 func GetPtrUnExportFiled ¶ func GetPtrUnExportFiled(s reflect.Value, filedIndex int) reflect.Value GetPtrUnExportFiled 获取指针类型的未导出字段 func SetPtrUnExportFiled ¶ func SetPtrUnExportFiled(s reflect.Value, filedIndex int, val reflect.Value) SetPtrUnExportFiled 设置指针类型的未导出字段 Types ¶ This section is empty. Source Files ¶ View all Source files struct.go Click to show internal directories. Click to hide internal directories.