veza/veza-backend-api/internal/api/routes_search.go
senke b103a09a25 chore: consolidate CI, E2E, backend and frontend updates
- CI: workflows updates (cd, ci), remove playwright.yml
- E2E: global-setup, auth/playlists/profile specs
- Remove playwright-report and test-results artifacts from tracking
- Backend: auth, handlers, services, workers, migrations
- Frontend: components, features, vite config
- Add e2e-results.json to gitignore
- Docs: REMEDIATION_PROGRESS, audit archive
- Rust: chat-server, stream-server updates
2026-02-17 16:43:21 +01:00

15 lines
437 B
Go

package api
import (
"github.com/gin-gonic/gin"
"veza-backend-api/internal/handlers"
"veza-backend-api/internal/services"
)
// setupSearchRoutes configure la route de recherche unifiée GET /search
func (r *APIRouter) setupSearchRoutes(router *gin.RouterGroup) {
searchService := services.NewSearchService(r.db, r.logger)
handlers.NewSearchHandlers(searchService)
router.GET("/search", handlers.SearchHandlersInstance.Search)
}