package routes import ( "nearle/facade" "github.com/gofiber/fiber/v2" ) // Scan-to-order, customer app only. See controllers/scanController.go for // the three calls and services/scanService.go for the pipeline behind them. func RegisterScanRoutes(api fiber.Router, f *facade.Facade) { scan := api.Group("/v1/mob/scan") scan.Post("/lookup", f.ScanController.Lookup) scan.Post("/confirm", f.ScanController.Confirm) scan.Get("/stores", f.ScanController.Stores) }