1
0
mirror of https://github.com/charlienet/go-mixed.git synced 2025-07-18 16:42:41 +08:00
This commit is contained in:
2022-04-07 15:26:49 +08:00
parent cfa90dff4f
commit 9ff187c944
4 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,12 @@
package generics
import "testing"
func TestArray(t *testing.T) {
a := NewArray(9, 1, 2, 4, 3, 1, 3)
t.Log(a)
b := a.Distinct(true)
t.Log(b)
t.Log(b.ToList())
}