value

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(a, b interface{}) bool

Equal returns true iff a == b. If a or b implements Equatable, that is used to perform the test.

Types

type Equatable

type Equatable interface {
	Equal(interface{}) bool
}

Equatable represents a type that can be compared for equality with another value.

type Key

type Key interface {
	Equatable
	hash.Hashable
}

Key represents a type that can be used as a key in a Map or a Set.

Jump to

Keyboard shortcuts

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