github.com/872409/go-netease-im@v1.0.2-0.20201109080841-fdb3e13691c5/tests/common_test.go (about) 1 package tests 2 3 import ( 4 "testing" 5 "time" 6 ) 7 8 func TestTimeStamp(t *testing.T) { 9 t.Log(time.Now().Unix()) 10 } 11 12 func TestArray(t *testing.T) { 13 var a []string 14 t.Log(a) 15 t.Log(len(a)) 16 17 a = nil 18 t.Log(a) 19 t.Log(len(a)) 20 }