package
Version:
v0.0.0-...-c3ec36b
Opens a new window with list of versions in this module.
Published: Aug 20, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Copy(dst, src interface{})
Copy 转换对象值,对象字段名称相同并且类型相同时自动赋值相应字段
@param dst interface{} 目标对象
@param src interface{} 原始对象
dbTag 解析对象数据库结构
@param tp reflect.Type 对象类型
@return map[string]string 对象数据库结构字段对照表
@return string 对象数据库主键字段名
getPtrInterface 获取指针的原始对象
func SetMapValue(obj interface{}, m map[string]interface{})
SetMapValue 设置对象值
Source Files
¶
Click to show internal directories.
Click to hide internal directories.