github.com/traefik/yaegi@v0.15.1/_test/const1.go (about)

     1  package main
     2  
     3  type T struct {
     4  	a int
     5  	b string
     6  }
     7  
     8  var t = T{1, "hello"}
     9  
    10  func main() {
    11  	println(t.a, t.b)
    12  }
    13  
    14  // Output:
    15  // 1 hello