comparator

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(a, b interface{}) string

Compare compares two interfaces and emits a unified diff as string

func CompareWithNames

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

CompareWithNames compares two interfaces and emits a unified diff as string

func MapBoolEquals

func MapBoolEquals(m1, m2 map[string]bool) bool

MapBoolEquals returns true if both maps are equal.

func MapStringEquals

func MapStringEquals(m1, m2 map[string]string) bool

MapStringEquals returns true if both maps are equal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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