Fix line separators (LF only now)

This commit is contained in:
Maximilian 2022-12-04 17:55:05 -06:00
parent 1eb278c4b9
commit ed2d0063f0

View File

@ -8,7 +8,6 @@ import (
"log"
"net/http"
"os"
"time"
)
func main() {
@ -24,8 +23,8 @@ func main() {
}
// Create log file and set output
file, _ := os.Create("logs/log-" + time.Now().String() + ".log")
log.SetOutput(file)
//file, _ := os.Create("logs/log-" + time.Now().String() + ".log")
//log.SetOutput(file)
// Connect to database
app.Db = database.ConnectDB(&app)