From a0a01343675d089ed8c54340cf970d3ca28a326f Mon Sep 17 00:00:00 2001 From: Marvin Steadfast Date: Thu, 3 Dec 2020 11:10:17 +0100 Subject: [PATCH] fixes readme typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 50219a1..2c21ad8 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Just a simple zerolog based request logging http middleware. It also sets a `X-R ## Usage handler := logginghandler.Handler(http.HandlerFunc(myHandler)) - http.HandleFunc("/", handler) + http.Handle("/", handler) log.Fatal().Msg(http.ListenAndServe(":5000", nil).Error()) In other handlers you can access the UUID: