merge

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(filenames []string) (result map[string]interface{}, history []interface{}, err error)

Files reads and merges files. Will merge all top-level arrays by simply concatenating them. Any other keys will be copied. The files will be processed in order provided. An error will be returned if files are incompatible. There are no checks on duplicates, etc... garbage-in-garbage-out.

func MustFiles

func MustFiles(filenames []string) (result map[string]interface{}, history []interface{})

MustFiles is identical to `Files` except that it will panic instead of returning an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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