wip: moving things around to logically group them
This commit is contained in:
@@ -8,6 +8,8 @@ import (
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
"drogobox.com/drogobox/cmd"
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
)
|
||||
|
||||
@@ -103,7 +105,7 @@ func main() {
|
||||
log.Fatal("Error loading .env file")
|
||||
}
|
||||
|
||||
port := os.Getenv("PORT")
|
||||
/*port := os.Getenv("PORT")
|
||||
|
||||
fileStorePath := os.Getenv("STORAGE_PATH")
|
||||
|
||||
@@ -112,5 +114,7 @@ func main() {
|
||||
fmt.Printf("in the future I will listen on port: %s\n", port)
|
||||
fmt.Printf("Reading files from: %s\n", fileStorePath)
|
||||
|
||||
readFilesFromFileStorePath(fileStorePath)
|
||||
readFilesFromFileStorePath(fileStorePath)*/
|
||||
|
||||
cmd.Execute()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user