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
131 B
Go
15 lines
131 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
func f(s string, a ...int) {
|
|
fmt.Println(s, a)
|
|
}
|
|
|
|
func main() {
|
|
f("hello")
|
|
}
|
|
|
|
// Output:
|
|
// hello []
|