The router setup is not race safe
hus787 opened this issue · 0 comments
hus787 commented
Concurrently configuring the router causes data race
e.g.
go router.Get("/foo", foo)
go router.Post("/bar", bar)
causes data-race.
Read by: web/router_setup.go:239
Previous write by main goroutine: web/router_setup.go:122