github.com/team-ide/go-dialect@v1.9.20/dialect/util_test.go (about) 1 package dialect 2 3 import ( 4 "fmt" 5 "reflect" 6 "testing" 7 ) 8 9 type objString string 10 type objInt int 11 12 func TestString(t *testing.T) { 13 fmt.Println("objString:", reflect.TypeOf(objString("xx")).Kind().String()) 14 fmt.Println("objInt:", reflect.TypeOf(objInt(1)).Kind().String()) 15 }