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
15 lines
122 B
Go
15 lines
122 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func f(a ...int) {
|
|
fmt.Println(a)
|
|
}
|
|
|
|
func main() {
|
|
f(1, 2, 3, 4)
|
|
}
|
|
|
|
// Output:
|
|
// [1 2 3 4]
|