gitlab.com/ethan.reesor/vscode-notebooks/yaegi@v0.0.0-20220417214422-5c573557938e/_test/type6.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "reflect" 6 ) 7 8 func main() { 9 a := T(12) 10 fmt.Println(reflect.TypeOf(a)) 11 } 12 13 type T int 14 15 // Output: 16 // int