fixes readme typo

This commit is contained in:
Marvin Steadfast 2020-12-03 11:10:17 +01:00
parent 0123e90f9c
commit a0a0134367

View File

@ -11,7 +11,7 @@ Just a simple zerolog based request logging http middleware. It also sets a `X-R
## Usage ## Usage
handler := logginghandler.Handler(http.HandlerFunc(myHandler)) handler := logginghandler.Handler(http.HandlerFunc(myHandler))
http.HandleFunc("/", handler) http.Handle("/", handler)
log.Fatal().Msg(http.ListenAndServe(":5000", nil).Error()) log.Fatal().Msg(http.ListenAndServe(":5000", nil).Error())
In other handlers you can access the UUID: In other handlers you can access the UUID: