func NewGoTask(maxConcurentNum int, quickMode bool) *GoTask {
	ret := &GoTask{
		wg:         sync.WaitGroup{},
		tasks:      make([]GoTaskDetail, 0),
		taskChan:   make(chan GoTaskDetail, maxConcurentNum),
		max:        maxConcurentNum,
		quickMode:  quickMode,
		curTaskNum: 0,
	}
	return ret
}
/*
Generate GoTask manager
package gotask
import (
	"sync"
	"time"
)
type GoTask struct {
	wg         sync.WaitGroup     
	tasks      []GoTaskDetail     
	taskChan   chan GoTaskDetail  
	max        int                
	cost       int64              
	quickMode  bool               
	curTaskNum int
}
type GoTaskDetail struct {
	fn     func(...interface{})
	params interface{}
}