middleware/logger.go
func WithLogEntry(r *http.Request, entry LogEntry) *http.Request {
	r = r.WithContext(context.WithValue(r.Context(), LogEntryCtxKey, entry))
	return r
}
func WithLogEntry(r *http.Request, entry LogEntry) *http.Request {
	r = r.WithContext(context.WithValue(r.Context(), LogEntryCtxKey, entry))
	return r
}
func WithLogEntry ( r * http . Request , entry LogEntry ) * http . Request { r = r . WithContext ( context . WithValue ( r . Context ( ) , LogEntryCtxKey , entry ) ) return r }
// WithLogEntry sets the in-context LogEntry for a request.
WithLogEntry sets the in - context LogEntry for a request .