Files
gosqldump/internal/where/util.go
Aaron Guise 2f43e96904
All checks were successful
CI / build (push) Successful in 2m59s
feat: Project Started 🎉
2024-08-30 12:21:09 +12:00

15 lines
336 B
Go

package where
import (
"github.com/samber/lo"
"hub.cybercinch.nz/guisea/gosqldump/internal/filesystem"
"os"
)
// mkdir creates a directory and all parent directories if they don't exist
// will return the path of the directory
func mkdir(path string) string {
lo.Must0(filesystem.Api().MkdirAll(path, os.ModePerm))
return path
}