use actix_web::web; use actix_web::web::scope; pub fn init_routes(cfg: &mut web::ServiceConfig) { cfg.service(scope("/api/v1")); }