helper

package
v0.0.0-...-d19b7bc Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Diff

func Diff(expected, current any) string

func Merge

func Merge(dst any, srcs ...any) (err error)

Merge permit to merge unlimited same interface. The last src is the higher priority If some src are nil, it skip it It return error if dst is nil

func MergeSettings

func MergeSettings(m1, m2 map[string]string) (res map[string]string, err error)

MergeSettings permit to merge map[string] that contain yaml as string m1 have the priority

Types

This section is empty.

Jump to

Keyboard shortcuts

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