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

     1  package main
     2  
     3  import "fmt"
     4  
     5  func main() {
     6  	s := [2]interface{}{1: "test", 0: 2}
     7  	fmt.Println(s[0], s[1])
     8  }
     9  
    10  // Output:
    11  // 2 test