CD Colchagua

Colchagua Club de Deportes are a Chilean Football club, their home town is San Fernando in Chile. They currently play in third division of Chilean football, Segunda División de Chile. His traditional rival is O'Higgins.

Colchagua
Full nameColchagua Club de Deportes
Nickname(s)Colchagüinos,
Sanfernandinos
FoundedJanuary 23, 1957
GroundEstadio Municipal Jorge Silva Valenzuela
San Fernando, Chile
Capacity5,900
ChairmanJorge Salazar
ManagerLuis Fredes
LeagueSegunda División
2015-1610th

Titles

  • Tercera División (2): 1987, 1998
gollark: ```rust let with_db = warp::any().map(move || pool.clone()); let static_files = warp::path("assets").and(warp::fs::dir("assets")); let view_page = warp::path!(String).and(warp::get()).and(with_db.clone()) // repeating the next bit for every route is kind of bad, see if it can be changed somehow .and_then(|title, db| async { error_to_http_response(view_page(db, title).await) }); let editor_page = warp::path!(String / "edit").and(warp::get()).and(with_db.clone()) .and_then(|title, db| async { error_to_http_response(editor_page(db, title).await) }); let save_edit = warp::path!(String / "edit").and(warp::post()).and(warp::body::form()).and(with_db) .and_then(|title, form, db| async { error_to_http_response(save_edit(db, title, form).await) }); let not_found = warp::any().map(|| warp::reply::with_status("404 Not Found", http::StatusCode::NOT_FOUND)); let main = editor_page.or(save_edit).or(view_page); let app = static_files.or(main).or(not_found);```See, this is how you SHOULD design routes: incomprehensibly.
gollark: no!
gollark: Your *routes* shouldn't be config. They're code. They're part of the application.
gollark: What? Why is that a config file?! You should be defining routes in your code.
gollark: Yes, that is a bit weird and not ideal.

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.