Archived
1
This commit is contained in:
2024-12-20 04:20:31 +03:00
parent 3fb0820dec
commit 67dd545c66
2 changed files with 1 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ func SaveStaticFile(path string, data []byte) error {
}
func CreateDir(path string) error {
return os.Mkdir(path, 0755)
return os.MkdirAll(path, 0755)
}
func CreateDirIfNotExists(path string) error {