func NewEnv(p P) *E {
	e := E{
		API:            p.API,
		Schema:         p.T,
		Tag:            p.Tag,
		OutDir:         p.Dir,
		OffsetChan:     make(chan int32, queueSize),
		RecordChan:     make(chan R, queueSize),
		DoneChan:       make(chan bool),
		DisableInclude: p.DisableInclude,
	}
	return &e

}
//NewEnv instantiances the non-varying part of an enviroonment object.
NewEnv instantiances the non-varying part of an enviroonment object.
// NewEnv instantiances the non - varying part of an enviroonment object .
func NewEnv(p P) *E {
	e := E{
		API:            p.API,
		Schema:         p.T,
		Tag:            p.Tag,
		OutDir:         p.Dir,
		OffsetChan:     make(chan int32, queueSize),
		RecordChan:     make(chan R, queueSize),
		DoneChan:       make(chan bool),
		DisableInclude: p.DisableInclude,
	}
	return &e
}
func NewEnv ( p P ) * E { e := E { API : p . API , Schema : p . T , Tag : p . Tag , OutDir : p . Dir , OffsetChan : make ( chan int32 , queueSize ) , RecordChan : make ( chan R , queueSize ) , DoneChan : make ( chan bool ) , DisableInclude : p . DisableInclude , } return & e }
NewEnv instantiances the non-varying part of an enviroonment object.
NewEnv instantiances the non - varying part of an enviroonment object .