Rendered field exported to support rendered requests on Do function. Data races fixed.
This commit is contained in:
@ -4,10 +4,9 @@ import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// Request is a small wrapper around *http.Request that contains Metadata
|
||||
// Request is a small wrapper around *http.Request that contains Metadata and Rendering option
|
||||
type Request struct {
|
||||
*http.Request
|
||||
Meta map[string]interface{}
|
||||
|
||||
rendered bool
|
||||
Meta map[string]interface{}
|
||||
Rendered bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user