Documentation ¶ Index ¶ func Find(data Interface, input interface{}) int type Interface 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 } Source Files ¶ View all Source files find.go Click to show internal directories. Click to hide internal directories.