Added logging #18, set Dockerfile to Go 1.16.5, minor changes

This commit is contained in:
Marc Ole Bulling
2021-06-16 19:44:27 +02:00
parent 5068b742aa
commit 6cffccb3be
11 changed files with 151 additions and 10 deletions

View File

@@ -9,6 +9,7 @@ import (
"Gokapi/internal/configuration/cloudconfig"
"Gokapi/internal/environment"
"Gokapi/internal/helper"
"Gokapi/internal/logging"
"Gokapi/internal/storage"
"Gokapi/internal/storage/cloudstorage/aws"
"Gokapi/internal/webserver"
@@ -44,6 +45,7 @@ func main() {
fmt.Println("Saving new files to local storage")
}
go storage.CleanUp(true)
logging.AddString("Gokapi started")
webserver.Start()
}