Newer
Older
01_hello / func / vargs.go
yhornisse on 27 Sep 2021 114 bytes add sample
package main

import "fmt"

func hoge(vals ...int64) {
	fmt.Println(len(vals))
}

func main() {
	hoge(1, 2, 3)
}