code: func GetLogData(req *http.Request) *LogData {
  	if ld, ok := req.Context().Value(DataTableKey).(*LogData); ok {
  		return ld
  	}
  	return nil
  }
docs: // GetLogData gets the request context object that contains logging data.
  // This creates data as the request passes through the middleware chain.