github.com/traefik/yaegi@v0.15.1/_test/struct13.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.WriteTimeout) 15 } 16 17 // Output: 18 // 0s