Fix line separators (LF only now)
This commit is contained in:
parent
1eb278c4b9
commit
ed2d0063f0
5
main.go
5
main.go
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user