Example #1
0
// Demo demo
func Demo() {
	l := mcore.NewArrayList(User{})
	l.Put(User{Name: "a"})
	l.Put(User{Name: "b"})
	fmt.Println(l.Len())
	fmt.Println(l.Type())
	l.Print()
}
Example #2
0
// Demo2 demo
func Demo2() {
	s := ""
	l := mcore.NewArrayList(s)
	l.Put("Hello", "ABC")
	l.Print()
}