merge

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Any is a default merge func for any types.
	Any = makeAny()
)

nolint: gochecknoglobals

Functions

This section is empty.

Types

type Func

type Func func(input, source interface{}) (interface{}, error)

type Merger

type Merger struct {
	Func Func
}

func (*Merger) Merge

func (m *Merger) Merge(input, source interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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