comparator

package
v1.16.0-pre.3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareWithNames

func CompareWithNames(a, b interface{}, nameA, nameB string) string

CompareWithNames compares two interfaces and emits a unified diff as string

func MapStringEqualsIgnoreKeys

func MapStringEqualsIgnoreKeys(m1, m2 map[string]string, ignoreKeys []string) bool

MapStringEqualsIgnoreKeys returns true if both maps have the same values for the keys that are not present in the 'ignoreKeys'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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