added logging
This commit is contained in:
parent
a408e1487d
commit
2d3f1ef951
6 changed files with 9 additions and 2 deletions
4
main.go
4
main.go
|
|
@ -4,7 +4,7 @@ import (
|
|||
"ddServer/handlers"
|
||||
"ddServer/model"
|
||||
"embed"
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"sync"
|
||||
)
|
||||
|
|
@ -28,6 +28,6 @@ func main() {
|
|||
http.HandleFunc("/about", handlers.AboutHandler(content))
|
||||
http.HandleFunc("/contact", handlers.ContactHandler(content))
|
||||
|
||||
fmt.Println("Server gestartet, erreichbar unter http://localhost:8080")
|
||||
log.Print("Server gestartet, erreichbar unter http://localhost:8080")
|
||||
http.ListenAndServe(":8080", nil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue