예제 #1
0
파일: print.go 프로젝트: sbinet/go-tucs
func PrintWorker(rtype tucs.RegionType) tucs.Worker {
	w := &printWorker{
		Base:     tucs.NewBase(rtype),
		nregions: 0,
	}
	return w
}
예제 #2
0
파일: print.go 프로젝트: sbinet/go-tucs
func Print(rtype tucs.RegionType, cfg PrintCfg) tucs.Worker {
	w := &printWorker{
		Base: tucs.NewBase(rtype),
		cfg:  cfg,
	}
	return w
}