add listening log
This commit is contained in:
parent
9daefc9d2d
commit
5f2d2a408a
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -56,6 +56,7 @@ func run() error {
|
||||||
address = ":3000"
|
address = ":3000"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Printf("Listening on %s", address)
|
||||||
err = http.ListenAndServe(address, middlewares.Logger(mux))
|
err = http.ListenAndServe(address, middlewares.Logger(mux))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue