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

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"image"
     6  )
     7  
     8  func main() {
     9  	v := []image.Point{
    10  		{X: 3, Y: 2},
    11  	}
    12  	fmt.Println(v)
    13  }
    14  
    15  // Output:
    16  // [(3,2)]