mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Major 'internal' package refactor
This commit is contained in:
parent
2c841906b2
commit
6d1dae25ec
9 changed files with 359 additions and 191 deletions
|
|
@ -44,10 +44,6 @@ func SplitPathForViper(path string) (string, string, string) {
|
|||
//
|
||||
// Returns the final path that was created if no errors occurred. Otherwise,
|
||||
// it returns an empty string with an error.
|
||||
//
|
||||
// TODO: Refactor this function for hive partitioning or possibly move into
|
||||
// the logging package.
|
||||
// TODO: Add an option to force overwriting the path.
|
||||
func MakeOutputDirectory(path string, overwrite bool) (string, error) {
|
||||
// get the current data + time using Go's stupid formatting
|
||||
t := time.Now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue