find

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(data Interface, input interface{}) int

Types

type Interface

type Interface interface {
	// Len is the number of elements in the collection.
	Len() int
	// val(i) less than val return -1;  val(i) equal val return 0; val(i) greet than val return 1;
	Compare(i int, val interface{}) int
}

Jump to

Keyboard shortcuts

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