github.com/HaHadaxigua/yaegi@v1.0.1/_test/ret6.go (about) 1 package main 2 3 import "fmt" 4 5 type Foo struct{} 6 7 func foo() *Foo { return nil } 8 9 func main() { 10 f := foo() 11 fmt.Println(f) 12 } 13 14 // Output: 15 // <nil>