Been too long since i did anything, can't remember what the hell is in all this....
This commit is contained in:
12
routes/resultroutes.go
Normal file
12
routes/resultroutes.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"database/sql"
|
||||
"net/http"
|
||||
|
||||
"synlotto-website/handlers"
|
||||
)
|
||||
|
||||
func SetupResultRoutes(mux *http.ServeMux, db *sql.DB) {
|
||||
mux.HandleFunc("/results/thunderball", handlers.ResultsThunderball(db))
|
||||
}
|
||||
Reference in New Issue
Block a user