github.com/go-board/x-go@v0.1.2-0.20220610024734-db1323f6cb15/types/type_id_test.go (about) 1 package types 2 3 import ( 4 "testing" 5 ) 6 7 func TestTypeof(t *testing.T) { 8 t.Log(Typeof(0)) 9 } 10 11 func BenchmarkTypeof(b *testing.B) { 12 for i := 0; i < b.N; i++ { 13 Typeof(0) 14 } 15 }