Esempio n. 1
0
func PrintWorker(rtype tucs.RegionType) tucs.Worker {
	w := &printWorker{
		Base:     tucs.NewBase(rtype),
		nregions: 0,
	}
	return w
}
Esempio n. 2
0
func Print(rtype tucs.RegionType, cfg PrintCfg) tucs.Worker {
	w := &printWorker{
		Base: tucs.NewBase(rtype),
		cfg:  cfg,
	}
	return w
}