structure

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(s, ts interface{}) error

Copy 结构体映射

func CopyWithIgnoreEmpty

func CopyWithIgnoreEmpty(s interface{}, ts interface{}) (err error)

func MapMerge

func MapMerge(s, d map[string]interface{}) map[string]interface{}

MapMerge

Types

type Option

type Option struct {
	IgnoreEmpty bool
	DeepCopy    bool
}

Jump to

Keyboard shortcuts

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