mirror of
https://github.com/pikami/rss-dl.git
synced 2026-11-11 20:52:02 +00:00
Added configuration flags
This commit is contained in:
1 parent
39d14eaf7a
commit
e13f98eb4a
3 files changed
+34
-10
No files matched your search
+1
-1
@@ -29,7 +29,7 @@ func WriteToFile(filename string, content string) {
|
||||
// InitOutputDirectory - Creates output directory
|
||||
func InitOutputDirectory(path string) {
|
||||
if _, err := os.Stat(path); os.IsNotExist(err) {
|
||||
os.Mkdir(path, os.ModePerm)
|
||||
os.MkdirAll(path, os.ModePerm)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user