gitlab.com/ethan.reesor/vscode-notebooks/yaegi@v0.0.0-20220417214422-5c573557938e/_test/struct6.go (about)

     1  package main
     2  
     3  type T struct {
     4  	f, g int
     5  }
     6  
     7  func main() {
     8  	a := T{7, 8}
     9  	println(a.f, a.g)
    10  }
    11  
    12  // Output:
    13  // 7 8