Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintFieldOffset ¶
func PrintFieldOffset(entity any)
Types ¶
type UnsafeAccessor ¶
type UnsafeAccessor struct {
// contains filtered or unexported fields
}
UnsafeAccessor 使用 unsafe 通过操作内存地址的方式,实现读取/修改值
func NewUnsafeAccessor ¶
func NewUnsafeAccessor(entity any) *UnsafeAccessor
Click to show internal directories.
Click to hide internal directories.