add test
This commit is contained in:
parent
69f504a13d
commit
abced6d49d
@ -16,4 +16,6 @@ func TestArray(t *testing.T) {
|
|||||||
val := []interface{}{1, 2, 3}
|
val := []interface{}{1, 2, 3}
|
||||||
fmt.Println(Array(val).IsValid())
|
fmt.Println(Array(val).IsValid())
|
||||||
fmt.Println(Array(val).ItemIsInterface())
|
fmt.Println(Array(val).ItemIsInterface())
|
||||||
|
valInt := []int{1, 2, 3, 1, 4, 5, 6, 7, 7, 6, 9}
|
||||||
|
fmt.Println(Array(valInt).Unique())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user