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