package reflect
import (
"reflect"
"testing"
)
func TestDeepEqual(t *testing.T){
a := map[int]string{1:"one",2:"two",3:"three"}
b := map[int]string{1:"one",2:"two",4:"three"}
reflect.DeepEqual(a,b)
c := []int{1,2,3}
d := []int{22,33,44}
reflect.DeepEqual(c,d)
}
Go基础--28 万能程序
最新推荐文章于 2024-06-06 09:58:47 发布
2954

被折叠的 条评论
为什么被折叠?



