github.com/HaHadaxigua/yaegi@v1.0.1/_test/struct0.go (about) 1 package main 2 3 type T struct { 4 f int 5 g int 6 } 7 8 func main() { 9 a := T{} 10 println(a.f, a.g) 11 } 12 13 // Output: 14 // 0 0