16 lines
236 B
Go
16 lines
236 B
Go
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}
|
|
}
|