distinct

package
v0.0.0-...-404dc1e Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker

type Checker struct {
	// contains filtered or unexported fields
}

Checker stores existing keys and checks if given data is distinct.

func CreateDistinctChecker

func CreateDistinctChecker() *Checker

CreateDistinctChecker creates a new distinct checker.

func (*Checker) Check

func (d *Checker) Check(values []interface{}) (bool, error)

Check checks if values is distinct.

Jump to

Keyboard shortcuts

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