Exemplo n.º 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)
	}
}
Exemplo n.º 2
0
func loop(i int) func() {
	return func() {
		fmt.Println("loop", i, common.Current())
	}
}