package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jan 14, 2026
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
func ToModel[T any](raw any) T
ToModel
@Description: 将任意类型转为指定类型,此方法如果发生会抛出
@param raw 原始对象
@return T 指定类型
Source Files
¶
Click to show internal directories.
Click to hide internal directories.