サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
ノーベル賞
fengsp.github.io
Introducing Pencil: A Microframework Inspired By Flask For Rust extern crate pencil; use pencil::{Pencil, Request, Response, PencilResult}; fn hello(_: &mut Request) -> PencilResult { Ok(Response::from("Hello World!")) } fn main() { let mut app = Pencil::new("/web/hello"); app.get("/", "hello", hello); app.run("127.0.0.1:5000"); } fn user(r: &mut Request) -> PencilResult { let user_id = r.view_arg
このページを最初にブックマークしてみませんか?
『fengsp.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く