distinct

package
v0.0.0-...-21a93f5 Latest Latest
Warning

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

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

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