Changed package declaration to floats from sliceops

This commit is contained in:
btracey
2013-07-25 12:52:20 -07:00
parent f4ded77ce3
commit afe5628b8f
3 changed files with 4 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package sliceops package floats
import ( import (
"fmt" "fmt"

View File

@@ -1,10 +1,11 @@
package sliceops package floats
import "math" import "math"
// InsufficientElements is an error type used by FindFirst // InsufficientElements is an error type used by FindFirst
type InsufficientElements struct{} type InsufficientElements struct{}
// Error makes InsufficientElements satisfy the error interface
func (i *InsufficientElements) Error() string { func (i *InsufficientElements) Error() string {
return "Insufficient elements found" return "Insufficient elements found"
} }

View File

@@ -1,4 +1,4 @@
package sliceops package floats
import ( import (
"math" "math"