internal/server/model.Handler.Route is no longer a pointer
Also Spawn() now checks if entrypoint is not set Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
@@ -13,9 +13,8 @@ type Handler struct {
|
||||
// ID is unique identifier of the request.
|
||||
ID string
|
||||
|
||||
// Route is a reference to the original route that matched this
|
||||
// request.
|
||||
Route *Route
|
||||
// Route is the original route that matched this request.
|
||||
Route
|
||||
|
||||
// Writing is a mutex that prevents two goroutines from writing at
|
||||
// the same time in the response.
|
||||
|
||||
Reference in New Issue
Block a user