github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/struct13_stdlibs.gno (about)

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  
     6  	"github.com/gnolang/gno/_test/net/http"
     7  )
     8  
     9  type Fromage struct {
    10  	http.Server
    11  }
    12  
    13  func main() {
    14  	a := Fromage{}
    15  	fmt.Println(a.Server.WriteTimeout)
    16  }
    17  
    18  // Output:
    19  // 0