reflect

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeepCopy

func DeepCopy(src interface{}) interface{}

DeepCopy 深拷贝 源和目标需要是同类型

func NonZeroField

func NonZeroField(value interface{}) ([]string, error)

NonZeroField 返回结构体的非零字段

func NonZeroFieldValue

func NonZeroFieldValue(value interface{}) (map[string]interface{}, error)

NonZeroFieldValue 返回结构体的非零字段的值

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL