예제 #1
0
func do(har *common.StatusAPI) func() {
	return func() {
		e, har, statusCode, r := common.RunHar(har)
		fmt.Println(common.Current(), e, har.HarId, statusCode, r)
	}
}
예제 #2
0
func loop(i int) func() {
	return func() {
		fmt.Println("loop", i, common.Current())
	}
}