github.com/traefik/yaegi@v0.15.1/_test/struct14.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "net/http" 6 ) 7 8 type Fromage struct { 9 *http.Server 10 } 11 12 func main() { 13 a := Fromage{} 14 fmt.Println(a.Server) 15 } 16 17 // Output: 18 // <nil>