fix: rename
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m16s
All checks were successful
Build and Push Docker Image / Build-And-Push-Docker-Image (push) Successful in 1m16s
This commit is contained in:
@@ -34,9 +34,9 @@ func NewHandler(r *core.Render, s *Service, treasureChest service.TreasureChest)
|
||||
|
||||
func (handler HandlerImpl) Handle(router *http.ServeMux) {
|
||||
router.Handle("GET /dashboard", handler.handleDashboard())
|
||||
router.Handle("GET /dashboard/main-chart", handler.handleHandlerMainChart())
|
||||
router.Handle("GET /dashboard/treasure-chests", handler.handleHandlerTreasureChests())
|
||||
router.Handle("GET /dashboard/treasure-chest", handler.handleHandlerTreasureChest())
|
||||
router.Handle("GET /dashboard/main-chart", handler.handleMainChart())
|
||||
router.Handle("GET /dashboard/treasure-chests", handler.handleTreasureChests())
|
||||
router.Handle("GET /dashboard/treasure-chest", handler.handleTreasureChest())
|
||||
}
|
||||
|
||||
func (handler HandlerImpl) handleDashboard() http.HandlerFunc {
|
||||
@@ -60,7 +60,7 @@ func (handler HandlerImpl) handleDashboard() http.HandlerFunc {
|
||||
}
|
||||
}
|
||||
|
||||
func (handler HandlerImpl) handleHandlerMainChart() http.HandlerFunc {
|
||||
func (handler HandlerImpl) handleMainChart() http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
core.UpdateSpan(r)
|
||||
|
||||
@@ -126,7 +126,7 @@ func (handler HandlerImpl) handleHandlerMainChart() http.HandlerFunc {
|
||||
}
|
||||
}
|
||||
|
||||
func (handler HandlerImpl) handleHandlerTreasureChests() http.HandlerFunc {
|
||||
func (handler HandlerImpl) handleTreasureChests() http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
core.UpdateSpan(r)
|
||||
|
||||
@@ -181,7 +181,7 @@ func (handler HandlerImpl) handleHandlerTreasureChests() http.HandlerFunc {
|
||||
}
|
||||
}
|
||||
|
||||
func (handler HandlerImpl) handleHandlerTreasureChest() http.HandlerFunc {
|
||||
func (handler HandlerImpl) handleTreasureChest() http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
core.UpdateSpan(r)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user