package
Version:
v0.7.6
Opens a new window with list of versions in this module.
Published: Aug 17, 2023
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Assignment[T1, T2 any](elem1 T1, elem2 *T2)
Assignment 把结构体1的相同字段赋值给结构体2
func SetField(obj interface{}, fieldName string, value interface{})
StructToMap struct to map
func StructToMapInterface(obj interface{}) map[string]any
Source Files
¶
Click to show internal directories.
Click to hide internal directories.