14 lines
325 B
Go
14 lines
325 B
Go
package routes
|
|
|
|
import (
|
|
"database/sql"
|
|
"net/http"
|
|
|
|
handlers "synlotto-website/internal/handlers/statistics"
|
|
"synlotto-website/internal/http/middleware"
|
|
)
|
|
|
|
func SetupStatisticsRoutes(mux *http.ServeMux, db *sql.DB) {
|
|
mux.HandleFunc("/statistics/thunderball", middleware.Auth(true)(handlers.StatisticsThunderball(db)))
|
|
}
|