aux platform
This commit is contained in:
15
extract/process.go
Normal file
15
extract/process.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package extract
|
||||
|
||||
import (
|
||||
"os"
|
||||
)
|
||||
|
||||
type Extractor struct {
|
||||
params *Params
|
||||
}
|
||||
|
||||
func NewExtractor(params *Params) *Extractor {
|
||||
os.MkdirAll(params.OutputPath, 0755)
|
||||
os.MkdirAll(params.TempPath, 0755)
|
||||
return &Extractor{params: params}
|
||||
}
|
||||
Reference in New Issue
Block a user