cml04-falcon-printer/routes/routes.go

12 lines
290 B
Go
Raw Normal View History

2024-10-24 10:58:03 +02:00
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))
}