cml04-falcon-printer/routes/routes.go
2024-10-24 10:58:03 +02:00

12 lines
290 B
Go

package routes
import (
"git.espin.casa/albert/cml04-falcon-printer/handlers"
"git.espin.casa/albert/cml04-falcon-printer/storage"
"github.com/julienschmidt/httprouter"
)
func CreateRoutes(r *httprouter.Router, storage storage.Storager) {
r.GET("/", handlers.IndexHandler(storage))
}