mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* gi: rename gi_c into _gi_c * gi: rename test into _test * gi: fix README syntax
12 lines
120 B
Go
12 lines
120 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
a := [6]int{1, 2, 3, 4, 5, 6}
|
|
fmt.Println(a[2:])
|
|
}
|
|
|
|
// Output:
|
|
// [3 4 5 6]
|