diff --git a/array_test.go b/array_test.go index baddf77..9472c9e 100644 --- a/array_test.go +++ b/array_test.go @@ -16,4 +16,6 @@ func TestArray(t *testing.T) { val := []interface{}{1, 2, 3} fmt.Println(Array(val).IsValid()) fmt.Println(Array(val).ItemIsInterface()) + valInt := []int{1, 2, 3, 1, 4, 5, 6, 7, 7, 6, 9} + fmt.Println(Array(valInt).Unique()) }