structs

package
v1.0.14 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SimpleCopyProperties

func SimpleCopyProperties(dst, src interface{}) (err error)

* 简单对象拷贝--需结构体对应字段相等 param dst 拷贝目标指针 param src 源

func StructEqual

func StructEqual(a, b interface{}) bool

**判断接口体是否相等,按顺序做对比字段类型 param a 对应结构指针 param b 对应结构指针

Types

This section is empty.

Jump to

Keyboard shortcuts

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