// GetRequestID will return the generated request id that the logging.Middleware
// has generated and attached to the http.Request's context.
GetRequestID will return the generated request id that the logging.Middleware
has generated and attached to the http.Request's context.
// GetRequestID will return the generated request id that the logging . Middleware // has generated and attached to the http . Request ' s context .
func GetRequestID(ctx context.Context) string {
	if ctx == nil || ctx.Value(keyRequestID) == nil {
		return ""
	}
	if id, ok := ctx.Value(keyRequestID).(string); ok {
		return id
	}
	return ""
}
func GetRequestID ( ctx context . Context ) string { if ctx == nil || ctx . Value ( keyRequestID ) == nil { return " " } if id , ok := ctx . Value ( keyRequestID ) . ( string ) ; ok { return id } return " " }
GetRequestID will return the generated request id that the logging.Middleware
has generated and attached to the http.Request's context.
GetRequestID will return the generated request id that the logging . Middleware has generated and attached to the http . Request ' s context .