gitlab.com/ethan.reesor/vscode-notebooks/yaegi@v0.0.0-20220417214422-5c573557938e/_test/struct28.go (about) 1 package main 2 3 import "fmt" 4 5 type T1 struct { 6 T2 7 } 8 9 type T2 struct { 10 *T1 11 } 12 13 func main() { 14 t := T1{} 15 fmt.Println(t) 16 } 17 18 // Output: 19 // {{<nil>}}